Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
incompatible_disable_genrule_cc_toolchain_dependency: remove genrule's implicit dependency on the cc_toolchain #6867
Currently, every genrule target has an implicit dependency on the cc_toolchain, caused by the ":cc_toolchain" late-bound attribute. With the recent migration to using the "toolchains" attribute to setting this dependency, the only remaining use of ":cc_toolchains" is to provide the CC_FLAGS Make variable.
In order to remove this dependency, a new rule will be added,
Once users have migrated to using the new rule to provide CC_FLAGS, the old behavior will be removed. Also, CcToolchainProvider will stop providing the CC_FLAGS Make variable.
Example old behavior:
pushed a commit
Dec 11, 2018
This flag doesn't appear in the output of