-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go/buildutil: permit comma delimiters in build tags
The buildutil.TagsFlag must maintain parity with the go build command, but the duplicated implementations have drifted apart over time. Starting in go 1.13 the go build command began honoring comma xor space delimiters while buildutil.TagsFlag only recognized spaces as of go 1.22. Test coverage has been updated to use a table with more cases to affirm expected behaviors, and to detect regressions that occur should the go build command change its implementation again. Fixes golang/go#44787 Change-Id: I210074a8fc5aaaed504e81633fc93aeacb142d9e Reviewed-on: https://go-review.googlesource.com/c/tools/+/558115 Reviewed-by: Alan Donovan <adonovan@google.com> Auto-Submit: Bryan Mills <bcmills@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Bryan Mills <bcmills@google.com>
- Loading branch information
Showing
2 changed files
with
139 additions
and
23 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