]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: fix vet complaints for linux/386
authorRuss Cox <rsc@golang.org>
Wed, 8 May 2019 15:44:15 +0000 (11:44 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 9 May 2019 21:13:18 +0000 (21:13 +0000)
commit6ed2ec4aa5ea6c34b1e3d42b7995c81ab74a27c4
treecfa786127653271c1b4d3aff1c4d5cf0a2c76696
parentcd03664f82a53dbe20d0b828189158ba3863039c
runtime: fix vet complaints for linux/386

Working toward making the tree vet-safe instead of having
so many exceptions in cmd/vet/all/whitelist.

This CL makes "GOOS=linux GOARCH=386 go vet -unsafeptr=false runtime" happy,
while keeping "GO_BUILDER_NAME=misc-vetall go tool dist test" happy too.

For #31916.

Change-Id: I3e5586a7ff6e359357350d0602c2259493280ded
Reviewed-on: https://go-review.googlesource.com/c/go/+/176099
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
36 files changed:
src/cmd/vet/all/whitelist/386.txt [deleted file]
src/cmd/vet/all/whitelist/amd64.txt
src/cmd/vet/all/whitelist/android_386.txt [deleted file]
src/cmd/vet/all/whitelist/arm.txt
src/cmd/vet/all/whitelist/arm64.txt
src/cmd/vet/all/whitelist/darwin_386.txt [deleted file]
src/cmd/vet/all/whitelist/freebsd_386.txt
src/cmd/vet/all/whitelist/linux_386.txt [deleted file]
src/cmd/vet/all/whitelist/linux_amd64.txt
src/cmd/vet/all/whitelist/linux_arm.txt
src/cmd/vet/all/whitelist/linux_arm64.txt [deleted file]
src/cmd/vet/all/whitelist/nacl_386.txt
src/cmd/vet/all/whitelist/netbsd_386.txt
src/cmd/vet/all/whitelist/openbsd_386.txt
src/cmd/vet/all/whitelist/plan9_386.txt [deleted file]
src/cmd/vet/all/whitelist/plan9_amd64.txt
src/cmd/vet/all/whitelist/windows_386.txt
src/runtime/asm_386.s
src/runtime/asm_arm.s
src/runtime/duff_mips64x.s
src/runtime/duff_ppc64x.s
src/runtime/stubs.go
src/runtime/stubs_386.go
src/runtime/stubs_android.go [deleted file]
src/runtime/stubs_linux.go
src/runtime/sys_freebsd_386.s
src/runtime/sys_linux_386.s
src/runtime/sys_linux_mips64x.s
src/runtime/sys_linux_mipsx.s
src/runtime/sys_linux_ppc64x.s
src/runtime/sys_linux_s390x.s
src/runtime/sys_nacl_386.s
src/runtime/sys_netbsd_386.s
src/runtime/sys_openbsd_386.s
src/runtime/sys_plan9_amd64.s
src/runtime/sys_windows_386.s