-
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.
config doesn't error on duplicate
--define
values (#15473)
When `--define` flags are interpreted by other commands, the last one wins. Currently `bazel config` causes a server crash when interpreting duplicate `--define` values. This change makes `config` consistent with the other commands, and re-uses the same deduplication code across all call-sites. Closes #14760. PiperOrigin-RevId: 427266039 Co-authored-by: Daniel Wagner-Hall <dwagnerhall@apple.com>
- Loading branch information
1 parent
1651b3b
commit e133e66
Showing
4 changed files
with
46 additions
and
12 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