diff --git a/foreign_cc/private/framework.bzl b/foreign_cc/private/framework.bzl index 3241baee..96086f86 100644 --- a/foreign_cc/private/framework.bzl +++ b/foreign_cc/private/framework.bzl @@ -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