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:
James Sharpe 2021-03-15 22:25:36 +00:00 committed by GitHub
parent f48ec05fed
commit 0171f55d0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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