Skip to content

Commit

Permalink
Add "disable_errors" to requestedFeatures.
Browse files Browse the repository at this point in the history
  • Loading branch information
RNabel committed Jul 10, 2018
1 parent 9204953 commit 0c03c42
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ ruleContext, getProtoToolchainProvider().blacklistedProtos())
private FeatureConfiguration getFeatureConfiguration(SupportData supportData) {
ImmutableSet.Builder<String> requestedFeatures = new ImmutableSet.Builder<>();
requestedFeatures.addAll(ruleContext.getFeatures());
requestedFeatures.add("disable_errors");
ImmutableSet.Builder<String> unsupportedFeatures = new ImmutableSet.Builder<>();
unsupportedFeatures.addAll(ruleContext.getDisabledFeatures());
unsupportedFeatures.add(CppRuleClasses.PARSE_HEADERS);
Expand Down

0 comments on commit 0c03c42

Please sign in to comment.