diff --git a/src/main/java/com/google/devtools/build/docgen/templates/attributes/common/toolchains.html b/src/main/java/com/google/devtools/build/docgen/templates/attributes/common/toolchains.html index 62802e5921405c..b6dac5b84a813a 100644 --- a/src/main/java/com/google/devtools/build/docgen/templates/attributes/common/toolchains.html +++ b/src/main/java/com/google/devtools/build/docgen/templates/attributes/common/toolchains.html @@ -8,7 +8,7 @@ include:
@bazel_tools//tools/cpp:current_cc_toolchain
+ @bazel_tools//tools/cpp:toolchain_type
@bazel_tools//tools/jdk:current_java_runtime
The following are defined in C++ toolchain rules and available to any rule
that sets toolchains =
- ["@bazel_tools//tools/cpp:current_cc_toolchain"]
+ ["@bazel_tools//tools/cpp:toolchain_type"]
Some rules, like java_binary
, implicitly
include the C++ toolchain in their rule definition. They inherit these variables