]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.10] cmd/go: run vet on packages with only cgo files
authorIan Lance Taylor <iant@golang.org>
Wed, 7 Mar 2018 15:03:46 +0000 (07:03 -0800)
committerAndrew Bonventre <andybons@golang.org>
Thu, 29 Mar 2018 06:07:50 +0000 (06:07 +0000)
commit69a7f73de888c19ac6641dcd61a499404beb437c
treee95abf6923c99a39fbe0c206c63e057feb1d01b1
parent853155f384e570635846b508d2fde7899d8d1612
[release-branch.go1.10] cmd/go: run vet on packages with only cgo files

CgoFiles is not included in GoFiles, so we need to check both.

Fixes #24193

Change-Id: I6a67bd912e3d9a4be0eae8fa8db6fa8a07fb5df3
Reviewed-on: https://go-review.googlesource.com/99175
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-on: https://go-review.googlesource.com/102785
Run-TryBot: Andrew Bonventre <andybons@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/go_test.go
src/cmd/go/internal/vet/vet.go