diff --git a/cc/toolchains/cc_toolchain_info.bzl b/cc/toolchains/cc_toolchain_info.bzl index 2359c83..9c3b2f7 100644 --- a/cc/toolchains/cc_toolchain_info.bzl +++ b/cc/toolchains/cc_toolchain_info.bzl @@ -122,6 +122,7 @@ FeatureInfo = provider( FeatureImplyabilityInfo = provider( doc = "Provider used to constrain which kinds of features can be implied", + fields = {}, ) FeatureSetInfo = provider( diff --git a/cc/toolchains/impl/external_feature.bzl b/cc/toolchains/impl/external_feature.bzl index 5a62e0c..1eee819 100644 --- a/cc/toolchains/impl/external_feature.bzl +++ b/cc/toolchains/impl/external_feature.bzl @@ -70,7 +70,7 @@ cc_external_feature = rule( mandatory = True, ), }, - provides = [FeatureInfo, FeatureSetInfo, FeatureConstraintInfo], + provides = [FeatureInfo, FeatureImplyabilityInfo, FeatureSetInfo, FeatureConstraintInfo], doc = """A declaration that a [feature](https://bazel.build/docs/cc-toolchain-config-reference#features) with this name is defined elsewhere. This rule communicates that a feature has been defined externally to make it possible to reference