config_common

报告问题 查看源代码

Starlark 用来与 Blaze 的可配置性 API 交互的函数。

成员

FeatureFlagInfo

Provider config_common.FeatureFlagInfo

用于检索包含 config_feature_flag 值的提供程序的键。

toolchain_type

toolchain_type config_common.toolchain_type(name, *, mandatory=True)

声明规则对工具链类型的依赖项。

参数

参数 说明
name string;或Label; required
所需的工具链类型。
mandatory bool;默认值为 True
工具链类型是强制类型还是可选类型。