Extensions > API reference > ToolchainContext

ToolchainContext

Holds toolchains available for a particular exec group. Toolchain targets are accessed by indexing with the toolchain type, as in context["//pkg:my_toolchain_type"].