aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vet
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2019-05-08 14:56:48 -0400
committerRuss Cox <rsc@golang.org>2019-05-09 21:13:23 +0000
commit60f67631a6c9e75ffd2829fcca56ac45d9baf019 (patch)
tree498f0af006cd6f0d881890c9c3e726c201526254 /src/cmd/vet
parent49f62af790c02c389d34a24227a17ddd4b4db94a (diff)
downloadgo-60f67631a6c9e75ffd2829fcca56ac45d9baf019.tar.gz
go-60f67631a6c9e75ffd2829fcca56ac45d9baf019.zip
runtime: fix vet complaints for solaris/amd64, illumos/amd64
Working toward making the tree vet-safe instead of having so many exceptions in cmd/vet/all/whitelist. This CL makes "go vet -unsafeptr=false runtime" happy for these GOOS/GOARCHes, while keeping "GO_BUILDER_NAME=misc-vetall go tool dist test" happy too. For #31916. Change-Id: Ic64f7f4034695dd4c32c9b7f258960faf3742a83 Reviewed-on: https://go-review.googlesource.com/c/go/+/176103 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Austin Clements <austin@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/cmd/vet')
-rw-r--r--src/cmd/vet/all/whitelist/illumos_amd64.txt5
-rw-r--r--src/cmd/vet/all/whitelist/solaris_amd64.txt5
2 files changed, 0 insertions, 10 deletions
diff --git a/src/cmd/vet/all/whitelist/illumos_amd64.txt b/src/cmd/vet/all/whitelist/illumos_amd64.txt
deleted file mode 100644
index 30f3912e3e..0000000000
--- a/src/cmd/vet/all/whitelist/illumos_amd64.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-// illumos/amd64-specific vet whitelist. See readme.txt for details.
-
-runtime/sys_solaris_amd64.s: [amd64] pipe1: function pipe1 missing Go declaration
-runtime/sys_solaris_amd64.s: [amd64] asmsysvicall6: function asmsysvicall6 missing Go declaration
-runtime/sys_solaris_amd64.s: [amd64] usleep2: function usleep2 missing Go declaration
diff --git a/src/cmd/vet/all/whitelist/solaris_amd64.txt b/src/cmd/vet/all/whitelist/solaris_amd64.txt
deleted file mode 100644
index 19f66f7588..0000000000
--- a/src/cmd/vet/all/whitelist/solaris_amd64.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-// solaris/amd64-specific vet whitelist. See readme.txt for details.
-
-runtime/sys_solaris_amd64.s: [amd64] pipe1: function pipe1 missing Go declaration
-runtime/sys_solaris_amd64.s: [amd64] asmsysvicall6: function asmsysvicall6 missing Go declaration
-runtime/sys_solaris_amd64.s: [amd64] usleep2: function usleep2 missing Go declaration