]> Cypherpunks repositories - gostls13.git/commit
cmd/go: put user flags after code generation flag
authorIan Lance Taylor <iant@golang.org>
Tue, 9 May 2017 13:40:04 +0000 (06:40 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 9 May 2017 14:23:50 +0000 (14:23 +0000)
commit9eacd977a0d2329ea5856db7ab9bf5130f7bafcc
treef858ae15f6150f486c190ada0a3251b077285d4f
parent1e732ca388054281f43183f01c233611dd938782
cmd/go: put user flags after code generation flag

This permits the user to override the code generation flag when they
know better. This is always a good policy for all flags automatically
inserted by the build system.

Doing this now so that I can write a test for #20290.

Update #20290

Change-Id: I5c6708a277238d571b8d037993a5a59e2a442e98
Reviewed-on: https://go-review.googlesource.com/42952
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/go_test.go
src/cmd/go/internal/work/build.go