-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flip the flag to move CcToolchainProvider creation to cc_toolchain_suite
This way, we don't have to do any package loading in the CppConfiguration (yay!). cc_toolchain now provides CcToolchainAttributesProvider, a lightweight representation of its attributes, and cc_toolchain_suite will select one and use it to create the full CcToolchainProvider. This cl should be backwards compatible under normal use, but there are some behavioral differences: * Before, cc_toolchain_suite was not analyzed * Before, only the selected cc_toolchain was analyzed * Before, cc_toolchain_alias returned cc_toolchain target (observable from aspects) * Now, cc_toolchain_suite is analyzed * Now, all cc_toolchains of the cc_toolchain_suite are analyzed * Before, cc_toolchain_alias returns cc_toolchain_suite target (observable from aspects) Progress on #6072 Fixes #6537 RELNOTES: None. PiperOrigin-RevId: 222289686
- Loading branch information
Showing
6 changed files
with
33 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters