config_common 屬性

回報問題 查看來源 Nightly · 8.4 · 8.3 · 8.2 · 8.1 · 8.0 · 7.6

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;必要
所需的工具鍊類型。
mandatory bool;預設值為 True
工具鍊類型是否為必要或選用項目。