• Russ Cox's avatar
    cmd/go: pass package config to vet during "go vet" · 56178649
    Russ Cox authored
    After this CL, "go vet" can be guaranteed to have complete type information
    about the packages being checked, even if cgo or swig is in use,
    which will in turn make it reasonable for vet checks to insist on type
    information. It also fixes vet's understanding of unusual import paths
    like relative paths and vendored packages.
    
    For now "go tool vet" will continue to cope without type information,
    but the eventual plan is for "go tool vet" to query the go command for
    what it needs, and also to be able to query alternate build systems
    like bazel. But that's future work.
    
    Fixes #4889.
    Fixes #12556 (if not already fixed).
    Fixes #15182.
    Fixes #16086.
    Fixes #17571.
    
    Change-Id: I932626ee7da649b302cd269b82eb6fe5d7b9f0f2
    Reviewed-on: https://go-review.googlesource.com/74750Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    56178649
Name
Last commit
Last update
..
386.txt Loading commit data...
all.txt Loading commit data...
amd64.txt Loading commit data...
android_386.txt Loading commit data...
android_amd64.txt Loading commit data...
android_arm.txt Loading commit data...
arm.txt Loading commit data...
arm64.txt Loading commit data...
darwin_386.txt Loading commit data...
darwin_amd64.txt Loading commit data...
darwin_arm.txt Loading commit data...
darwin_arm64.txt Loading commit data...
dragonfly_amd64.txt Loading commit data...
freebsd_386.txt Loading commit data...
freebsd_amd64.txt Loading commit data...
freebsd_arm.txt Loading commit data...
linux_386.txt Loading commit data...
linux_amd64.txt Loading commit data...
linux_arm.txt Loading commit data...
linux_arm64.txt Loading commit data...
linux_ppc64x.txt Loading commit data...
mips.txt Loading commit data...
mips64x.txt Loading commit data...
mipsle.txt Loading commit data...
mipsx.txt Loading commit data...
nacl_386.txt Loading commit data...
nacl_amd64p32.txt Loading commit data...
nacl_arm.txt Loading commit data...
netbsd.txt Loading commit data...
netbsd_386.txt Loading commit data...
netbsd_amd64.txt Loading commit data...
netbsd_arm.txt Loading commit data...
openbsd_386.txt Loading commit data...
openbsd_amd64.txt Loading commit data...
openbsd_arm.txt Loading commit data...
plan9_386.txt Loading commit data...
plan9_amd64.txt Loading commit data...
plan9_arm.txt Loading commit data...
ppc64x.txt Loading commit data...
readme.txt Loading commit data...
s390x.txt Loading commit data...
solaris_amd64.txt Loading commit data...
windows.txt Loading commit data...
windows_386.txt Loading commit data...
windows_amd64.txt Loading commit data...