Update cfg for tools to use exec rather than host (And target in the case of additional_tools) configurations (#565)
This commit is contained in:
parent
f48ec05fed
commit
0171f55d0b
|
@ -48,6 +48,7 @@ CC_EXTERNAL_RULE_ATTRIBUTES = {
|
|||
),
|
||||
mandatory = False,
|
||||
allow_files = True,
|
||||
cfg = "exec",
|
||||
default = [],
|
||||
),
|
||||
"alwayslink": attr.bool(
|
||||
|
@ -190,7 +191,7 @@ CC_EXTERNAL_RULE_ATTRIBUTES = {
|
|||
),
|
||||
mandatory = False,
|
||||
allow_files = True,
|
||||
cfg = "host",
|
||||
cfg = "exec",
|
||||
default = [],
|
||||
),
|
||||
# we need to declare this attribute to access cc_toolchain
|
||||
|
|
Loading…
Reference in New Issue