mirror of https://github.com/golang/go.git
cmd/vet/all: enable AIX checks
Fixes #27985 Change-Id: I2f3d06ced9da9fc56f30f1285a8d393e689c29ac Reviewed-on: https://go-review.googlesource.com/c/go/+/169019 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
ee2836048c
commit
57bd577454
|
|
@ -209,12 +209,6 @@ func (p platform) vet() {
|
|||
return
|
||||
}
|
||||
|
||||
if p.os == "aix" && p.arch == "ppc64" {
|
||||
// TODO(aix): enable as soon as the aix/ppc64 port has fully landed
|
||||
fmt.Println("skipping aix/ppc64")
|
||||
return
|
||||
}
|
||||
|
||||
var buf bytes.Buffer
|
||||
fmt.Fprintf(&buf, "go run main.go -p %s\n", p)
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
// aix/ppc64-specific vet whitelist. See readme.txt for details.
|
||||
|
||||
runtime/asm_ppc64x.s: [ppc64] sigreturn: function sigreturn missing Go declaration
|
||||
runtime/sys_aix_ppc64.s: [ppc64] callCfunction: function callCfunction missing Go declaration
|
||||
runtime/sys_aix_ppc64.s: [ppc64] _asmsyscall6: function _asmsyscall6 missing Go declaration
|
||||
runtime/sys_aix_ppc64.s: [ppc64] _sigtramp: function _sigtramp missing Go declaration
|
||||
runtime/sys_aix_ppc64.s: [ppc64] _sigtramp: use of 16(R1) points beyond argument frame
|
||||
runtime/sys_aix_ppc64.s: [ppc64] _tstart: function _tstart missing Go declaration
|
||||
Loading…
Reference in New Issue