-
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.
Change
--extra_toolchains
precedence to last-wins, instead of first…
…-wins. This only changes the precedence within all uses of `--extra_toolchains`, it does not change the precedence for `register_toolchains` calls. After this, the priority order for toolchains is: 1. Consider toolchains registered via `--extra_toolchains` 1. Within this set, the last mentioned toolchain has highest priority 2. Consider toolchains registered via `register_toolchains` 1. Within this set, the first mentioned toolchain has highest priority In all cases, pseudo-targets like `:all` and `/...` are ordered by Bazel's package loading mechanism, which is currently using a lexicographic ordering. Fixes #19945. Closes #19942. Closes #20031. PiperOrigin-RevId: 579845262 Change-Id: Ibd9c32e5479a6a27717734852b875f9b3f31b510
- Loading branch information
1 parent
70f7c80
commit 75f8017
Showing
5 changed files
with
98 additions
and
3 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