if os.Getenv("SSATEST") == "" {
return false
}
- // Generally available.
+ case "arm":
+ // nacl/arm doesn't work yet
+ if obj.Getgoos() == "nacl" && os.Getenv("SSATEST") == "" {
+ return false
+ }
case "amd64":
+ // Generally available.
}
if !ssaEnabled {
return false
-// +build !amd64
+// +build !amd64,!arm nacl,arm
// errorcheck -0 -l -live -wb=0
// Copyright 2014 The Go Authors. All rights reserved.
-// +build amd64
+// +build amd64 arm,!nacl
// errorcheck -0 -l -live -wb=0
// Copyright 2014 The Go Authors. All rights reserved.
// Fails on ppc64x because of incomplete optimization.
// See issues 9058.
// Same reason for mips64x and s390x.
-// +build !ppc64,!ppc64le,!mips64,!mips64le,!amd64,!s390x
+// +build !ppc64,!ppc64le,!mips64,!mips64le,!amd64,!s390x,!arm nacl,arm
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// errorcheck -0 -d=nil
-// Fails on ppc64x because of incomplete optimization.
-// See issues 9058.
-// +build !ppc64,!ppc64le,amd64
+// +build amd64 arm,!nacl
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
-// +build !amd64
+// +build !amd64,!arm nacl,arm
// errorcheck -0 -d=append,slice
// Copyright 2015 The Go Authors. All rights reserved.