]> Cypherpunks repositories - gostls13.git/commit
cmd/vet: accept package config from go command
authorRuss Cox <rsc@golang.org>
Mon, 30 Oct 2017 15:16:09 +0000 (11:16 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 1 Nov 2017 13:44:56 +0000 (13:44 +0000)
commit4fe42799a8a3170715dcbfa3d904ca8173131d79
treeb61375ff1af8513a1185008cb0f3bb828aa9e545
parentf1fa663b6d7c80109ad0ba690751daeb9e387061
cmd/vet: accept package config from go command

This CL adds support for accepting package config from
the go command. Paired with CL 74356 this lets us make
sure vet has complete information about package sources.
This fixes many issues (see CL 74356 for the list), including
mishandling of cgo and vendoring.

Change-Id: Ia4a1dce6f9b1b0a8ef5fdf9005a20a8b294969f1
Reviewed-on: https://go-review.googlesource.com/74355
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
src/cmd/vet/main.go