Skip to content

Commit

Permalink
Update cc_toolchain to properly declare config transitions on module_…
Browse files Browse the repository at this point in the history
…map.

This appears to have been missed in 58fdf63, probably due to syncing past 2f908b1 without noticing that it removed a transition that needed to be replaced.

PiperOrigin-RevId: 338689847
  • Loading branch information
Googler authored and copybara-github committed Oct 23, 2020
1 parent 64750aa commit a3a00f2
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,11 @@ input discovery is supported (currently Google-only).
/* <!-- #BLAZE_RULE(cc_toolchain).ATTRIBUTE(module_map) -->
Module map artifact to be used for modular builds.
<!-- #END_BLAZE_RULE.ATTRIBUTE -->*/
.add(attr("module_map", LABEL).legacyAllowAnyFileType())
.add(
attr("module_map", LABEL)
.legacyAllowAnyFileType()
// Should be in the target configuration
.cfg(NoTransition.createFactory()))
/* <!-- #BLAZE_RULE(cc_toolchain).ATTRIBUTE(supports_param_files) -->
Set to True when cc_toolchain supports using param files for linking actions.
<!-- #END_BLAZE_RULE.ATTRIBUTE -->*/
Expand Down

0 comments on commit a3a00f2

Please sign in to comment.