]> Cypherpunks repositories - gostls13.git/commit
cmd/go: don't pass -compiler flag to vet
authorIan Lance Taylor <iant@golang.org>
Fri, 18 May 2018 03:21:29 +0000 (23:21 -0400)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 18 May 2018 03:52:36 +0000 (03:52 +0000)
commit226651a541286726df30ff067d519f4efd57cec7
tree525eea616bee2d4a954dcb2d8fd5b55309c20fe6
parentf2239d39571a176ebeb726e2d6cccbc3aa1ba4a9
cmd/go: don't pass -compiler flag to vet

Without this running go vet -compiler=gccgo causes vet to fail.
The vet tool does need to know the compiler, but it is passed in
vetConfig.Compiler.

Change-Id: If857be4f336f6d7c425972fabcf82fae2cdc8a90
Reviewed-on: https://go-review.googlesource.com/113715
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/go/internal/vet/vetflag.go