mirror of https://github.com/bazelbuild/rules_cc
Keep @rules_cc//cc:toolchain_type as fully-qualified label always
Labels in toolchains attribute need to include the repository, otherwise the resolution won't work. RELNOTES: None. PiperOrigin-RevId: 279347045 Change-Id: Iba1eb8bb677771e2c089ab6bc1b5e019c4da434e
This commit is contained in:
parent
fe8f0a4cf9
commit
8bd6cd75d0
|
@ -25,5 +25,7 @@ compiler_flag = rule(
|
|||
attrs = {
|
||||
"_cc_toolchain": attr.label(default = Label("//cc:current_cc_toolchain")),
|
||||
},
|
||||
toolchains = ["//cc:toolchain_type"],
|
||||
toolchains = [
|
||||
"@rules_cc//cc:toolchain_type", # copybara-use-repo-external-label
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue