IMPORTANT: The Bazel docs have moved! Please update your bookmark to https://bazel.build/rules/lib/ToolchainContext
You can read about the migration, and let us know what you think.
Extensions >
API reference >
ToolchainContext
ToolchainContext
Holds toolchains available for a particular exec group. Toolchain targets are accessed by indexing with the toolchain type, as incontext["//pkg:my_toolchain_type"]
.