]> Cypherpunks repositories - gostls13.git/commit
cmd/go: change -tags to a comma-separated list
authorRuss Cox <rsc@golang.org>
Tue, 23 Apr 2019 16:19:57 +0000 (12:19 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 24 Apr 2019 14:25:19 +0000 (14:25 +0000)
commit80e7832733fd245181af3394077f2df21303a4aa
tree6760ca0cf9725f285fa9ff98077b3639d39c3b9b
parent74695644e0c38586a85b9b483830c546efbb6642
cmd/go: change -tags to a comma-separated list

Using commas makes it possible to put multiple tags into GOFLAGS.
The space-separated form is still recognized and will be maintained.

Alleviates #26849 somewhat.
Fixes #18800 (again).

Change-Id: I6f4cf28ea31e53e21ccbdad6ef1a0aee63b007d7
Reviewed-on: https://go-review.googlesource.com/c/go/+/173438
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
src/cmd/go/alldocs.go
src/cmd/go/go_test.go
src/cmd/go/internal/work/build.go
src/cmd/go/testdata/script/mod_build_tags.txt