From 930639335363b7673630a459d1925f341c24fd8c Mon Sep 17 00:00:00 2001 From: Nicholas Junge Date: Wed, 18 Dec 2024 18:22:22 +0100 Subject: [PATCH] docs: Fix toolchain implementation file name (#2512) The code example comment uses `toolchain_impls` (extra s), while the target references use `toolchain_impl` (no s). This made me go back and double-check when reading the custom toolchain example (especially the definitions in L425ff). Remove the extra "s" in the comment so it matches what the target references are. --- docs/toolchains.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/toolchains.md b/docs/toolchains.md index db4c6ba07a..4cc0948a8b 100644 --- a/docs/toolchains.md +++ b/docs/toolchains.md @@ -376,7 +376,7 @@ Here, we show an example for a semi-complicated toolchain suite, one that is: Defining toolchains for this might look something like this: ``` -# File: toolchain_impls/BUILD +# File: toolchain_impl/BUILD load("@rules_python//python:py_cc_toolchain.bzl", "py_cc_toolchain") load("@rules_python//python:py_exec_tools_toolchain.bzl", "py_exec_tools_toolchain") load("@rules_python//python:py_runtime.bzl", "py_runtime")