mirror of https://github.com/bazelbuild/rules_cc
Do not use CROSSTOOL to select cc_toolchain
This is a preparation for flipping --incompatible_disable_cc_toolchain_label_from_crosstool_proto, which will stop reading default_toolchain fields from the crosstool and will rely on cc_toolchain_suite.toolchains containing entries for cpu without compiler. Migrations docs can be found here: https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-crosstool-to-select-the-cc_toolchain-label. RELNOTES: None. PiperOrigin-RevId: 216470358
This commit is contained in:
parent
364065d6a5
commit
fccbfbf395
|
@ -521,7 +521,8 @@ message CrosstoolRelease {
|
|||
// not used for that purpose (or anything else) anymore. Please also don't add
|
||||
// new uses of this field.
|
||||
optional string default_target_cpu = 3;
|
||||
// The default toolchain to use for each given cpu.
|
||||
// Deprecated: The default toolchain to use for each given cpu.
|
||||
// Use cc_toolchain_suite.toolchains with only cpu specified instead
|
||||
repeated DefaultCpuToolchain default_toolchain = 4;
|
||||
|
||||
// All the toolchains in this release.
|
||||
|
|
Loading…
Reference in New Issue