1
0
mirror of https://github.com/golang/go synced 2024-11-26 04:07:59 -07:00

runtime,syscall: simplify openbsd related build tags

openbsd/mips64 is now the only openbsd port that uses non-libc syscall - revise
build tags to reflect this.

Update #36435

Change-Id: I357b2dd2926d058e25e618fcca42c388587598a8
Reviewed-on: https://go-review.googlesource.com/c/go/+/317919
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
Joel Sing 2021-05-10 03:16:28 +10:00
parent 5c489514bc
commit 326a792517
13 changed files with 26 additions and 26 deletions

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build (openbsd && 386) || (openbsd && amd64) || (openbsd && arm) || (openbsd && arm64)
// +build openbsd,386 openbsd,amd64 openbsd,arm openbsd,arm64
//go:build openbsd && !mips64
// +build openbsd,!mips64
package runtime

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build openbsd && !386 && openbsd && !amd64 && openbsd && !arm && openbsd && !arm64
// +build openbsd,!386,openbsd,!amd64,openbsd,!arm,openbsd,!arm64
//go:build openbsd && mips64
// +build openbsd,mips64
package runtime

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build openbsd && !386 && !amd64 && !arm && !arm64
// +build openbsd,!386,!amd64,!arm,!arm64
//go:build openbsd && mips64
// +build openbsd,mips64
package runtime

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build openbsd && !386 && !amd64 && !arm && !arm64
// +build openbsd,!386,!amd64,!arm,!arm64
//go:build openbsd && mips64
// +build openbsd,mips64
package runtime

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build darwin || (openbsd && 386) || (openbsd && amd64) || (openbsd && arm) || (openbsd && arm64)
// +build darwin openbsd,386 openbsd,amd64 openbsd,arm openbsd,arm64
//go:build darwin || (openbsd && !mips64)
// +build darwin openbsd,!mips64
package runtime

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build (openbsd && 386) || (openbsd && amd64) || (openbsd && arm) || (openbsd && arm64)
// +build openbsd,386 openbsd,amd64 openbsd,arm openbsd,arm64
//go:build openbsd && !mips64
// +build openbsd,!mips64
package runtime

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build (openbsd && 386) || (openbsd && amd64) || (openbsd && arm) || (openbsd && arm64)
// +build openbsd,386 openbsd,amd64 openbsd,arm openbsd,arm64
//go:build openbsd && !mips64
// +build openbsd,!mips64
package runtime

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build (openbsd && 386) || (openbsd && amd64) || (openbsd && arm) || (openbsd && arm64)
// +build openbsd,386 openbsd,amd64 openbsd,arm openbsd,arm64
//go:build openbsd && !mips64
// +build openbsd,!mips64
package runtime

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build (openbsd && 386) || (openbsd && amd64) || (openbsd && arm) || (openbsd && arm64)
// +build openbsd,386 openbsd,amd64 openbsd,arm openbsd,arm64
//go:build openbsd && !mips64
// +build openbsd,!mips64
package runtime

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build dragonfly || freebsd || netbsd || (openbsd && !386 && !amd64 && !arm && !arm64)
// +build dragonfly freebsd netbsd openbsd,!386,!amd64,!arm,!arm64
//go:build dragonfly || freebsd || netbsd || (openbsd && mips64)
// +build dragonfly freebsd netbsd openbsd,mips64
package syscall

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build darwin || (openbsd && 386) || (openbsd && amd64) || (openbsd && arm) || (openbsd && arm64)
// +build darwin openbsd,386 openbsd,amd64 openbsd,arm openbsd,arm64
//go:build darwin || (openbsd && !mips64)
// +build darwin openbsd,!mips64
package syscall

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build openbsd && !386 && !amd64 && !arm && !arm64
// +build openbsd,!386,!amd64,!arm,!arm64
//go:build openbsd && mips64
// +build openbsd,mips64
package syscall

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build (openbsd && 386) || (openbsd && amd64) || (openbsd && arm) || (openbsd && arm64)
// +build openbsd,386 openbsd,amd64 openbsd,arm openbsd,arm64
//go:build openbsd && !mips64
// +build openbsd,!mips64
package syscall