Skip to main content
Bazel Documentation home page
HEAD
English
Search...
⌘K
Ask AI
Module Registry
Blog
Github
Search...
Navigation
toolchain\_type
About Bazel
Getting started
User guide
Reference
Extending
Community
Concepts
Extension Overview
Writing rules
Rules Tutorial
Creating a Symbolic Macro
Creating a Legacy Macro
Using Macros to Create Custom Verbs
Starlark Language
.bzl style guide
Challenges of Writing Rules
Writing Rules on Windows
Distributing rules
Testing
Optimizing Performance
Deploying Rules
APIs
One-Page Overview
Global functions
Bzl
Module
Repo rules
Index
Cache
Git
Http
Local
Utils
On this page
Members
mandatory
toolchain_type
toolchain\_type
A data type describing a dependency on a specific toolchain type.
Members
mandatory
toolchain_type
mandatory
bool toolchain_type.mandatory
Whether the toolchain type is mandatory or optional.
toolchain_type
Label toolchain_type.toolchain_type
The toolchain type that is required.
⌘I
Assistant
Responses are generated using AI and may contain mistakes.