diff options
author | Joshua M. Clulow <josh.clulow@joyent.com> | 2019-04-29 13:50:49 +0000 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2019-04-30 16:59:13 +0000 |
commit | f686a2890b34996455c7d7aba9a0efba74b613f5 (patch) | |
tree | d2f0348349a47f4697fb4dacdf687455cec4546a /src/cmd/vet | |
parent | 0c9e0c257b121acae72b9419be64ce45196ef825 (diff) | |
download | go-f686a2890b34996455c7d7aba9a0efba74b613f5.tar.gz go-f686a2890b34996455c7d7aba9a0efba74b613f5.zip |
all: add new GOOS=illumos, split out of GOOS=solaris
Like GOOS=android which implies the "linux" build tag, GOOS=illumos
implies the "solaris" build tag. This lets the existing ecosystem of
packages still work on illumos, but still permits packages to start
differentiating between solaris and illumos.
Fixes #20603
Change-Id: I8f4eabf1a66060538dca15d7658c1fbc6c826622
Reviewed-on: https://go-review.googlesource.com/c/go/+/174457
Run-TryBot: Benny Siegert <bsiegert@gmail.com>
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd/vet')
-rw-r--r-- | src/cmd/vet/all/whitelist/illumos_amd64.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cmd/vet/all/whitelist/illumos_amd64.txt b/src/cmd/vet/all/whitelist/illumos_amd64.txt new file mode 100644 index 0000000000..4525c03cd7 --- /dev/null +++ b/src/cmd/vet/all/whitelist/illumos_amd64.txt @@ -0,0 +1,6 @@ +// illumos/amd64-specific vet whitelist. See readme.txt for details. + +runtime/sys_solaris_amd64.s: [amd64] settls: function settls missing Go declaration +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 |