From 9a76102bfb4322425a1228caa377974426e82c84 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 19 Feb 2021 22:57:36 -0500 Subject: [PATCH] all: go fmt ./... Make all our package sources use Go 1.17 gofmt format (adding //go:build lines). Not strictly necessary but will avoid spurious changes as files are edited. Part of //go:build change (#41184). See https://golang.org/design/draft-gobuild Change-Id: I01667f826428426a39c84717d02efa25fa44553c Reviewed-on: https://go-review.googlesource.com/c/sys/+/294490 TryBot-Result: Go Bot Reviewed-by: Keith Randall Reviewed-by: Josh Bleecher Snyder Reviewed-by: Matt Layher Trust: Josh Bleecher Snyder Trust: Russ Cox Run-TryBot: Josh Bleecher Snyder Run-TryBot: Russ Cox --- cpu/cpu_aix.go | 1 + cpu/cpu_gc_arm64.go | 1 + cpu/cpu_gc_s390x.go | 1 + cpu/cpu_gc_x86.go | 1 + cpu/cpu_gccgo_arm64.go | 1 + cpu/cpu_gccgo_s390x.go | 1 + cpu/cpu_gccgo_x86.go | 1 + cpu/cpu_linux.go | 1 + cpu/cpu_linux_mips64x.go | 1 + cpu/cpu_linux_noinit.go | 1 + cpu/cpu_linux_ppc64x.go | 1 + cpu/cpu_mips64x.go | 1 + cpu/cpu_mipsx.go | 1 + cpu/cpu_other_arm.go | 1 + cpu/cpu_other_arm64.go | 4 ++-- cpu/cpu_other_mips64x.go | 1 + cpu/cpu_ppc64x.go | 1 + cpu/cpu_riscv64.go | 1 + cpu/cpu_wasm.go | 1 + cpu/cpu_x86.go | 1 + cpu/syscall_aix_gccgo.go | 4 ++-- cpu/syscall_aix_ppc64_gc.go | 4 ++-- unix/aliases.go | 1 + unix/cap_freebsd.go | 1 + unix/constants.go | 1 + unix/creds_test.go | 1 + unix/darwin_test.go | 1 + unix/dev_aix_ppc.go | 4 ++-- unix/dev_aix_ppc64.go | 4 ++-- unix/dev_linux_test.go | 1 + unix/dirent.go | 1 + unix/dirent_test.go | 1 + unix/endian_big.go | 1 + unix/endian_little.go | 1 + unix/env_unix.go | 1 + unix/example_exec_test.go | 1 + unix/example_flock_test.go | 1 + unix/export_test.go | 1 + unix/fcntl.go | 1 + unix/fcntl_linux_32bit.go | 1 + unix/fdset.go | 1 + unix/fdset_test.go | 1 + unix/gccgo.go | 4 ++-- unix/gccgo_linux_amd64.go | 1 + unix/getdirentries_test.go | 1 + unix/ioctl.go | 1 + unix/mkasm_darwin.go | 1 + unix/mkmerge.go | 1 + unix/mkmerge_test.go | 1 + unix/mkpost.go | 1 + unix/mksyscall.go | 1 + unix/mksyscall_aix_ppc.go | 1 + unix/mksyscall_aix_ppc64.go | 1 + unix/mksyscall_solaris.go | 1 + unix/mksysctl_openbsd.go | 1 + unix/mksysnum.go | 1 + unix/mmap_unix_test.go | 1 + unix/openbsd_test.go | 1 + unix/pagesize_unix.go | 1 + unix/pipe2_test.go | 1 + unix/ptrace_darwin.go | 1 + unix/ptrace_ios.go | 1 + unix/race.go | 1 + unix/race0.go | 1 + unix/readdirent_getdents.go | 1 + unix/readdirent_getdirentries.go | 1 + unix/sendfile_test.go | 1 + unix/sockcmsg_unix.go | 1 + unix/sockcmsg_unix_other.go | 1 + unix/str.go | 1 + unix/syscall.go | 1 + unix/syscall_aix.go | 1 + unix/syscall_aix_ppc.go | 4 ++-- unix/syscall_aix_ppc64.go | 4 ++-- unix/syscall_aix_test.go | 1 + unix/syscall_bsd.go | 1 + unix/syscall_bsd_test.go | 1 + unix/syscall_darwin.1_12.go | 1 + unix/syscall_darwin.1_13.go | 1 + unix/syscall_darwin_386.go | 1 + unix/syscall_darwin_amd64.go | 1 + unix/syscall_darwin_arm64.go | 1 + unix/syscall_darwin_libSystem.go | 1 + unix/syscall_dragonfly_amd64.go | 1 + unix/syscall_freebsd_386.go | 1 + unix/syscall_freebsd_amd64.go | 1 + unix/syscall_freebsd_arm.go | 1 + unix/syscall_freebsd_arm64.go | 1 + unix/syscall_freebsd_test.go | 1 + unix/syscall_illumos.go | 1 + unix/syscall_internal_bsd_test.go | 1 + unix/syscall_internal_linux_test.go | 1 + unix/syscall_linux_386.go | 1 + unix/syscall_linux_amd64.go | 1 + unix/syscall_linux_amd64_gc.go | 4 ++-- unix/syscall_linux_arm.go | 1 + unix/syscall_linux_arm64.go | 1 + unix/syscall_linux_gc.go | 1 + unix/syscall_linux_gc_386.go | 1 + unix/syscall_linux_gc_arm.go | 1 + unix/syscall_linux_gccgo_386.go | 1 + unix/syscall_linux_gccgo_arm.go | 1 + unix/syscall_linux_mips64x.go | 1 + unix/syscall_linux_mipsx.go | 1 + unix/syscall_linux_ppc64x.go | 1 + unix/syscall_linux_riscv64.go | 1 + unix/syscall_linux_s390x.go | 1 + unix/syscall_linux_sparc64.go | 1 + unix/syscall_linux_test.go | 1 + unix/syscall_netbsd_386.go | 1 + unix/syscall_netbsd_amd64.go | 1 + unix/syscall_netbsd_arm.go | 1 + unix/syscall_netbsd_arm64.go | 1 + unix/syscall_openbsd_386.go | 1 + unix/syscall_openbsd_amd64.go | 1 + unix/syscall_openbsd_arm.go | 1 + unix/syscall_openbsd_arm64.go | 1 + unix/syscall_solaris_amd64.go | 1 + unix/syscall_solaris_test.go | 1 + unix/syscall_test.go | 1 + unix/syscall_unix.go | 1 + unix/syscall_unix_gc.go | 5 ++++- unix/syscall_unix_gc_ppc64x.go | 1 + unix/syscall_unix_test.go | 1 + unix/timestruct.go | 1 + unix/timestruct_test.go | 1 + unix/types_aix.go | 4 ++-- unix/types_darwin.go | 1 + unix/types_dragonfly.go | 1 + unix/types_freebsd.go | 1 + unix/types_netbsd.go | 1 + unix/types_openbsd.go | 1 + unix/types_solaris.go | 1 + unix/xattr_bsd.go | 1 + unix/xattr_test.go | 1 + unix/zerrors_aix_ppc.go | 1 + unix/zerrors_aix_ppc64.go | 1 + unix/zerrors_darwin_386.go | 1 + unix/zerrors_darwin_amd64.go | 1 + unix/zerrors_darwin_arm.go | 1 + unix/zerrors_darwin_arm64.go | 1 + unix/zerrors_dragonfly_amd64.go | 1 + unix/zerrors_freebsd_386.go | 1 + unix/zerrors_freebsd_amd64.go | 1 + unix/zerrors_freebsd_arm.go | 1 + unix/zerrors_freebsd_arm64.go | 1 + unix/zerrors_linux.go | 1 + unix/zerrors_linux_386.go | 1 + unix/zerrors_linux_amd64.go | 1 + unix/zerrors_linux_arm.go | 1 + unix/zerrors_linux_arm64.go | 1 + unix/zerrors_linux_mips.go | 1 + unix/zerrors_linux_mips64.go | 1 + unix/zerrors_linux_mips64le.go | 1 + unix/zerrors_linux_mipsle.go | 1 + unix/zerrors_linux_ppc64.go | 1 + unix/zerrors_linux_ppc64le.go | 1 + unix/zerrors_linux_riscv64.go | 1 + unix/zerrors_linux_s390x.go | 1 + unix/zerrors_linux_sparc64.go | 1 + unix/zerrors_netbsd_386.go | 1 + unix/zerrors_netbsd_amd64.go | 1 + unix/zerrors_netbsd_arm.go | 1 + unix/zerrors_netbsd_arm64.go | 1 + unix/zerrors_openbsd_386.go | 1 + unix/zerrors_openbsd_amd64.go | 1 + unix/zerrors_openbsd_arm.go | 1 + unix/zerrors_openbsd_arm64.go | 1 + unix/zerrors_openbsd_mips64.go | 1 + unix/zerrors_solaris_amd64.go | 1 + unix/zptrace_armnn_linux.go | 1 + unix/zptrace_mipsnn_linux.go | 1 + unix/zptrace_mipsnnle_linux.go | 1 + unix/zptrace_x86_linux.go | 1 + unix/zsyscall_aix_ppc.go | 1 + unix/zsyscall_aix_ppc64.go | 1 + unix/zsyscall_aix_ppc64_gc.go | 4 ++-- unix/zsyscall_aix_ppc64_gccgo.go | 4 ++-- unix/zsyscall_darwin_386.1_13.go | 1 + unix/zsyscall_darwin_386.go | 1 + unix/zsyscall_darwin_amd64.1_13.go | 1 + unix/zsyscall_darwin_amd64.go | 1 + unix/zsyscall_darwin_arm.1_13.go | 1 + unix/zsyscall_darwin_arm.go | 1 + unix/zsyscall_darwin_arm64.1_13.go | 1 + unix/zsyscall_darwin_arm64.go | 1 + unix/zsyscall_dragonfly_amd64.go | 1 + unix/zsyscall_freebsd_386.go | 1 + unix/zsyscall_freebsd_amd64.go | 1 + unix/zsyscall_freebsd_arm.go | 1 + unix/zsyscall_freebsd_arm64.go | 1 + unix/zsyscall_illumos_amd64.go | 1 + unix/zsyscall_linux.go | 1 + unix/zsyscall_linux_386.go | 1 + unix/zsyscall_linux_amd64.go | 1 + unix/zsyscall_linux_arm.go | 1 + unix/zsyscall_linux_arm64.go | 1 + unix/zsyscall_linux_mips.go | 1 + unix/zsyscall_linux_mips64.go | 1 + unix/zsyscall_linux_mips64le.go | 1 + unix/zsyscall_linux_mipsle.go | 1 + unix/zsyscall_linux_ppc64.go | 1 + unix/zsyscall_linux_ppc64le.go | 1 + unix/zsyscall_linux_riscv64.go | 1 + unix/zsyscall_linux_s390x.go | 1 + unix/zsyscall_linux_sparc64.go | 1 + unix/zsyscall_netbsd_386.go | 1 + unix/zsyscall_netbsd_amd64.go | 1 + unix/zsyscall_netbsd_arm.go | 1 + unix/zsyscall_netbsd_arm64.go | 1 + unix/zsyscall_openbsd_386.go | 1 + unix/zsyscall_openbsd_amd64.go | 1 + unix/zsyscall_openbsd_arm.go | 1 + unix/zsyscall_openbsd_arm64.go | 1 + unix/zsyscall_openbsd_mips64.go | 1 + unix/zsyscall_solaris_amd64.go | 1 + unix/zsysctl_openbsd_386.go | 1 + unix/zsysctl_openbsd_amd64.go | 1 + unix/zsysctl_openbsd_arm.go | 1 + unix/zsysctl_openbsd_arm64.go | 1 + unix/zsysctl_openbsd_mips64.go | 1 + unix/zsysnum_darwin_386.go | 1 + unix/zsysnum_darwin_amd64.go | 1 + unix/zsysnum_darwin_arm.go | 1 + unix/zsysnum_darwin_arm64.go | 1 + unix/zsysnum_dragonfly_amd64.go | 1 + unix/zsysnum_freebsd_386.go | 1 + unix/zsysnum_freebsd_amd64.go | 1 + unix/zsysnum_freebsd_arm.go | 1 + unix/zsysnum_freebsd_arm64.go | 1 + unix/zsysnum_linux_386.go | 1 + unix/zsysnum_linux_amd64.go | 1 + unix/zsysnum_linux_arm.go | 1 + unix/zsysnum_linux_arm64.go | 1 + unix/zsysnum_linux_mips.go | 1 + unix/zsysnum_linux_mips64.go | 1 + unix/zsysnum_linux_mips64le.go | 1 + unix/zsysnum_linux_mipsle.go | 1 + unix/zsysnum_linux_ppc64.go | 1 + unix/zsysnum_linux_ppc64le.go | 1 + unix/zsysnum_linux_riscv64.go | 1 + unix/zsysnum_linux_s390x.go | 1 + unix/zsysnum_linux_sparc64.go | 1 + unix/zsysnum_netbsd_386.go | 1 + unix/zsysnum_netbsd_amd64.go | 1 + unix/zsysnum_netbsd_arm.go | 1 + unix/zsysnum_netbsd_arm64.go | 1 + unix/zsysnum_openbsd_386.go | 1 + unix/zsysnum_openbsd_amd64.go | 1 + unix/zsysnum_openbsd_arm.go | 1 + unix/zsysnum_openbsd_arm64.go | 1 + unix/zsysnum_openbsd_mips64.go | 1 + unix/ztypes_aix_ppc.go | 1 + unix/ztypes_aix_ppc64.go | 1 + unix/ztypes_darwin_386.go | 1 + unix/ztypes_darwin_amd64.go | 1 + unix/ztypes_darwin_arm.go | 1 + unix/ztypes_darwin_arm64.go | 1 + unix/ztypes_dragonfly_amd64.go | 1 + unix/ztypes_freebsd_386.go | 1 + unix/ztypes_freebsd_amd64.go | 1 + unix/ztypes_freebsd_arm.go | 1 + unix/ztypes_freebsd_arm64.go | 1 + unix/ztypes_linux.go | 1 + unix/ztypes_linux_386.go | 1 + unix/ztypes_linux_amd64.go | 1 + unix/ztypes_linux_arm.go | 1 + unix/ztypes_linux_arm64.go | 1 + unix/ztypes_linux_mips.go | 1 + unix/ztypes_linux_mips64.go | 1 + unix/ztypes_linux_mips64le.go | 1 + unix/ztypes_linux_mipsle.go | 1 + unix/ztypes_linux_ppc64.go | 1 + unix/ztypes_linux_ppc64le.go | 1 + unix/ztypes_linux_riscv64.go | 1 + unix/ztypes_linux_s390x.go | 1 + unix/ztypes_linux_sparc64.go | 1 + unix/ztypes_netbsd_386.go | 1 + unix/ztypes_netbsd_amd64.go | 1 + unix/ztypes_netbsd_arm.go | 1 + unix/ztypes_netbsd_arm64.go | 1 + unix/ztypes_openbsd_386.go | 1 + unix/ztypes_openbsd_amd64.go | 1 + unix/ztypes_openbsd_arm.go | 1 + unix/ztypes_openbsd_arm64.go | 1 + unix/ztypes_openbsd_mips64.go | 1 + unix/ztypes_solaris_amd64.go | 1 + 287 files changed, 302 insertions(+), 25 deletions(-) diff --git a/cpu/cpu_aix.go b/cpu/cpu_aix.go index 464a209c..28b52164 100644 --- a/cpu/cpu_aix.go +++ b/cpu/cpu_aix.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix // +build aix package cpu diff --git a/cpu/cpu_gc_arm64.go b/cpu/cpu_gc_arm64.go index 7f7f272a..ccf542a7 100644 --- a/cpu/cpu_gc_arm64.go +++ b/cpu/cpu_gc_arm64.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build gc // +build gc package cpu diff --git a/cpu/cpu_gc_s390x.go b/cpu/cpu_gc_s390x.go index 75a95566..0af2f248 100644 --- a/cpu/cpu_gc_s390x.go +++ b/cpu/cpu_gc_s390x.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build gc // +build gc package cpu diff --git a/cpu/cpu_gc_x86.go b/cpu/cpu_gc_x86.go index 4adb89cf..fa7cdb9b 100644 --- a/cpu/cpu_gc_x86.go +++ b/cpu/cpu_gc_x86.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build (386 || amd64 || amd64p32) && gc // +build 386 amd64 amd64p32 // +build gc diff --git a/cpu/cpu_gccgo_arm64.go b/cpu/cpu_gccgo_arm64.go index 53ca8d65..2aff3189 100644 --- a/cpu/cpu_gccgo_arm64.go +++ b/cpu/cpu_gccgo_arm64.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build gccgo // +build gccgo package cpu diff --git a/cpu/cpu_gccgo_s390x.go b/cpu/cpu_gccgo_s390x.go index aa986f77..4bfbda61 100644 --- a/cpu/cpu_gccgo_s390x.go +++ b/cpu/cpu_gccgo_s390x.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build gccgo // +build gccgo package cpu diff --git a/cpu/cpu_gccgo_x86.go b/cpu/cpu_gccgo_x86.go index ba49b91b..8478a6d5 100644 --- a/cpu/cpu_gccgo_x86.go +++ b/cpu/cpu_gccgo_x86.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build (386 || amd64 || amd64p32) && gccgo // +build 386 amd64 amd64p32 // +build gccgo diff --git a/cpu/cpu_linux.go b/cpu/cpu_linux.go index 6fc874f7..159a686f 100644 --- a/cpu/cpu_linux.go +++ b/cpu/cpu_linux.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build !386 && !amd64 && !amd64p32 && !arm64 // +build !386,!amd64,!amd64p32,!arm64 package cpu diff --git a/cpu/cpu_linux_mips64x.go b/cpu/cpu_linux_mips64x.go index 5a418900..6000db4c 100644 --- a/cpu/cpu_linux_mips64x.go +++ b/cpu/cpu_linux_mips64x.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build linux && (mips64 || mips64le) // +build linux // +build mips64 mips64le diff --git a/cpu/cpu_linux_noinit.go b/cpu/cpu_linux_noinit.go index 42b5d33c..f4992b1a 100644 --- a/cpu/cpu_linux_noinit.go +++ b/cpu/cpu_linux_noinit.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build linux && !arm && !arm64 && !mips64 && !mips64le && !ppc64 && !ppc64le && !s390x // +build linux,!arm,!arm64,!mips64,!mips64le,!ppc64,!ppc64le,!s390x package cpu diff --git a/cpu/cpu_linux_ppc64x.go b/cpu/cpu_linux_ppc64x.go index 99f8a639..021356d6 100644 --- a/cpu/cpu_linux_ppc64x.go +++ b/cpu/cpu_linux_ppc64x.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build linux && (ppc64 || ppc64le) // +build linux // +build ppc64 ppc64le diff --git a/cpu/cpu_mips64x.go b/cpu/cpu_mips64x.go index 57b5b677..f4063c66 100644 --- a/cpu/cpu_mips64x.go +++ b/cpu/cpu_mips64x.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build mips64 || mips64le // +build mips64 mips64le package cpu diff --git a/cpu/cpu_mipsx.go b/cpu/cpu_mipsx.go index cfc1946b..07c4e36d 100644 --- a/cpu/cpu_mipsx.go +++ b/cpu/cpu_mipsx.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build mips || mipsle // +build mips mipsle package cpu diff --git a/cpu/cpu_other_arm.go b/cpu/cpu_other_arm.go index b412efc1..d7b4fb4c 100644 --- a/cpu/cpu_other_arm.go +++ b/cpu/cpu_other_arm.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build !linux && arm // +build !linux,arm package cpu diff --git a/cpu/cpu_other_arm64.go b/cpu/cpu_other_arm64.go index 16c1c409..f8c484f5 100644 --- a/cpu/cpu_other_arm64.go +++ b/cpu/cpu_other_arm64.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build !linux,!netbsd -// +build arm64 +//go:build !linux && !netbsd && arm64 +// +build !linux,!netbsd,arm64 package cpu diff --git a/cpu/cpu_other_mips64x.go b/cpu/cpu_other_mips64x.go index f49fad67..0dafe964 100644 --- a/cpu/cpu_other_mips64x.go +++ b/cpu/cpu_other_mips64x.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build !linux && (mips64 || mips64le) // +build !linux // +build mips64 mips64le diff --git a/cpu/cpu_ppc64x.go b/cpu/cpu_ppc64x.go index d28d675b..4e8acd16 100644 --- a/cpu/cpu_ppc64x.go +++ b/cpu/cpu_ppc64x.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ppc64 || ppc64le // +build ppc64 ppc64le package cpu diff --git a/cpu/cpu_riscv64.go b/cpu/cpu_riscv64.go index 8b08de34..bd6c128a 100644 --- a/cpu/cpu_riscv64.go +++ b/cpu/cpu_riscv64.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build riscv64 // +build riscv64 package cpu diff --git a/cpu/cpu_wasm.go b/cpu/cpu_wasm.go index 5382f2a2..7747d888 100644 --- a/cpu/cpu_wasm.go +++ b/cpu/cpu_wasm.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build wasm // +build wasm package cpu diff --git a/cpu/cpu_x86.go b/cpu/cpu_x86.go index 48d42933..fd380c0a 100644 --- a/cpu/cpu_x86.go +++ b/cpu/cpu_x86.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build 386 || amd64 || amd64p32 // +build 386 amd64 amd64p32 package cpu diff --git a/cpu/syscall_aix_gccgo.go b/cpu/syscall_aix_gccgo.go index 76fbe40b..a864f24d 100644 --- a/cpu/syscall_aix_gccgo.go +++ b/cpu/syscall_aix_gccgo.go @@ -8,8 +8,8 @@ // Morever, this file will be used during the building of // gccgo's libgo and thus must not used a CGo method. -// +build aix -// +build gccgo +//go:build aix && gccgo +// +build aix,gccgo package cpu diff --git a/cpu/syscall_aix_ppc64_gc.go b/cpu/syscall_aix_ppc64_gc.go index 5b427d67..904be42f 100644 --- a/cpu/syscall_aix_ppc64_gc.go +++ b/cpu/syscall_aix_ppc64_gc.go @@ -6,8 +6,8 @@ // system call on AIX without depending on x/sys/unix. // (See golang.org/issue/32102) -// +build aix,ppc64 -// +build gc +//go:build aix && ppc64 && gc +// +build aix,ppc64,gc package cpu diff --git a/unix/aliases.go b/unix/aliases.go index 951fce4d..0d12dd66 100644 --- a/unix/aliases.go +++ b/unix/aliases.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build (aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris) && go1.9 // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris // +build go1.9 diff --git a/unix/cap_freebsd.go b/unix/cap_freebsd.go index df520487..0b7c6adb 100644 --- a/unix/cap_freebsd.go +++ b/unix/cap_freebsd.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build freebsd // +build freebsd package unix diff --git a/unix/constants.go b/unix/constants.go index 3a6ac648..c0cd2ff9 100644 --- a/unix/constants.go +++ b/unix/constants.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris package unix diff --git a/unix/creds_test.go b/unix/creds_test.go index 1b508319..f8bbb5f7 100644 --- a/unix/creds_test.go +++ b/unix/creds_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build linux // +build linux package unix_test diff --git a/unix/darwin_test.go b/unix/darwin_test.go index 9d5caa79..68b0b4fc 100644 --- a/unix/darwin_test.go +++ b/unix/darwin_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build (darwin && go1.12 && amd64) || (darwin && go1.12 && 386) // +build darwin,go1.12,amd64 darwin,go1.12,386 package unix diff --git a/unix/dev_aix_ppc.go b/unix/dev_aix_ppc.go index 5e5fb451..65a99850 100644 --- a/unix/dev_aix_ppc.go +++ b/unix/dev_aix_ppc.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build aix -// +build ppc +//go:build aix && ppc +// +build aix,ppc // Functions to access/create device major and minor numbers matching the // encoding used by AIX. diff --git a/unix/dev_aix_ppc64.go b/unix/dev_aix_ppc64.go index 8b401244..8fc08ad0 100644 --- a/unix/dev_aix_ppc64.go +++ b/unix/dev_aix_ppc64.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build aix -// +build ppc64 +//go:build aix && ppc64 +// +build aix,ppc64 // Functions to access/create device major and minor numbers matching the // encoding used AIX. diff --git a/unix/dev_linux_test.go b/unix/dev_linux_test.go index 51645289..2b3a9bd8 100644 --- a/unix/dev_linux_test.go +++ b/unix/dev_linux_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build go1.7 // +build go1.7 package unix_test diff --git a/unix/dirent.go b/unix/dirent.go index 304016b6..e74e5eaa 100644 --- a/unix/dirent.go +++ b/unix/dirent.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris package unix diff --git a/unix/dirent_test.go b/unix/dirent_test.go index 48eb257f..cbe12b0a 100644 --- a/unix/dirent_test.go +++ b/unix/dirent_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris package unix_test diff --git a/unix/endian_big.go b/unix/endian_big.go index 86781eac..a5202655 100644 --- a/unix/endian_big.go +++ b/unix/endian_big.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +//go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64 // +build armbe arm64be m68k mips mips64 mips64p32 ppc ppc64 s390 s390x shbe sparc sparc64 package unix diff --git a/unix/endian_little.go b/unix/endian_little.go index 8822d854..4362f47e 100644 --- a/unix/endian_little.go +++ b/unix/endian_little.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +//go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh // +build 386 amd64 amd64p32 alpha arm arm64 mipsle mips64le mips64p32le nios2 ppc64le riscv riscv64 sh package unix diff --git a/unix/env_unix.go b/unix/env_unix.go index 84178b0a..cc210c7e 100644 --- a/unix/env_unix.go +++ b/unix/env_unix.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris // Unix environment variables. diff --git a/unix/example_exec_test.go b/unix/example_exec_test.go index bb4d3bf5..4302b09f 100644 --- a/unix/example_exec_test.go +++ b/unix/example_exec_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris package unix_test diff --git a/unix/example_flock_test.go b/unix/example_flock_test.go index 6c917485..d2cc500b 100644 --- a/unix/example_flock_test.go +++ b/unix/example_flock_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build darwin dragonfly freebsd linux netbsd openbsd solaris package unix_test diff --git a/unix/export_test.go b/unix/export_test.go index f8ae0e0e..a2bf67de 100644 --- a/unix/export_test.go +++ b/unix/export_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris package unix diff --git a/unix/fcntl.go b/unix/fcntl.go index 4dc53486..e9b99125 100644 --- a/unix/fcntl.go +++ b/unix/fcntl.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build dragonfly || freebsd || linux || netbsd || openbsd // +build dragonfly freebsd linux netbsd openbsd package unix diff --git a/unix/fcntl_linux_32bit.go b/unix/fcntl_linux_32bit.go index 8db48e5e..cb0dfbd0 100644 --- a/unix/fcntl_linux_32bit.go +++ b/unix/fcntl_linux_32bit.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build (linux && 386) || (linux && arm) || (linux && mips) || (linux && mipsle) // +build linux,386 linux,arm linux,mips linux,mipsle package unix diff --git a/unix/fdset.go b/unix/fdset.go index b27be0a0..b1e07b22 100644 --- a/unix/fdset.go +++ b/unix/fdset.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris package unix diff --git a/unix/fdset_test.go b/unix/fdset_test.go index d0c2d8a7..b10e6c96 100644 --- a/unix/fdset_test.go +++ b/unix/fdset_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris package unix_test diff --git a/unix/gccgo.go b/unix/gccgo.go index 86032c11..0dee2322 100644 --- a/unix/gccgo.go +++ b/unix/gccgo.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build gccgo -// +build !aix +//go:build gccgo && !aix +// +build gccgo,!aix package unix diff --git a/unix/gccgo_linux_amd64.go b/unix/gccgo_linux_amd64.go index 251a977a..e60e49a3 100644 --- a/unix/gccgo_linux_amd64.go +++ b/unix/gccgo_linux_amd64.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build gccgo && linux && amd64 // +build gccgo,linux,amd64 package unix diff --git a/unix/getdirentries_test.go b/unix/getdirentries_test.go index 7e9600b2..592c0e6a 100644 --- a/unix/getdirentries_test.go +++ b/unix/getdirentries_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build darwin || dragonfly || freebsd || openbsd || netbsd // +build darwin dragonfly freebsd openbsd netbsd package unix_test diff --git a/unix/ioctl.go b/unix/ioctl.go index 56416786..6c7ad052 100644 --- a/unix/ioctl.go +++ b/unix/ioctl.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris package unix diff --git a/unix/mkasm_darwin.go b/unix/mkasm_darwin.go index 6f7bb6ed..08c976f2 100644 --- a/unix/mkasm_darwin.go +++ b/unix/mkasm_darwin.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore // mkasm_darwin.go generates assembly trampolines to call libSystem routines from Go. diff --git a/unix/mkmerge.go b/unix/mkmerge.go index 8bde4501..054a51d4 100644 --- a/unix/mkmerge.go +++ b/unix/mkmerge.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore // mkmerge.go parses generated source files and merges common diff --git a/unix/mkmerge_test.go b/unix/mkmerge_test.go index e628625b..04ee3934 100644 --- a/unix/mkmerge_test.go +++ b/unix/mkmerge_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore // Test cases for mkmerge.go. diff --git a/unix/mkpost.go b/unix/mkpost.go index 80309dcf..edf0f09e 100644 --- a/unix/mkpost.go +++ b/unix/mkpost.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore // mkpost processes the output of cgo -godefs to diff --git a/unix/mksyscall.go b/unix/mksyscall.go index 91ea47a5..8dd88ea3 100644 --- a/unix/mksyscall.go +++ b/unix/mksyscall.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore /* diff --git a/unix/mksyscall_aix_ppc.go b/unix/mksyscall_aix_ppc.go index 4ca5c29f..4b4c6c40 100644 --- a/unix/mksyscall_aix_ppc.go +++ b/unix/mksyscall_aix_ppc.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore /* diff --git a/unix/mksyscall_aix_ppc64.go b/unix/mksyscall_aix_ppc64.go index 8465503e..8ff73179 100644 --- a/unix/mksyscall_aix_ppc64.go +++ b/unix/mksyscall_aix_ppc64.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore /* diff --git a/unix/mksyscall_solaris.go b/unix/mksyscall_solaris.go index f7d85e96..746dbef6 100644 --- a/unix/mksyscall_solaris.go +++ b/unix/mksyscall_solaris.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore /* diff --git a/unix/mksysctl_openbsd.go b/unix/mksysctl_openbsd.go index 28b27364..a147c777 100644 --- a/unix/mksysctl_openbsd.go +++ b/unix/mksysctl_openbsd.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore // Parse the header files for OpenBSD and generate a Go usable sysctl MIB. diff --git a/unix/mksysnum.go b/unix/mksysnum.go index 557412f2..8478df54 100644 --- a/unix/mksysnum.go +++ b/unix/mksysnum.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore // Generate system call table for DragonFly, NetBSD, diff --git a/unix/mmap_unix_test.go b/unix/mmap_unix_test.go index d4c4ef92..a2ec6c81 100644 --- a/unix/mmap_unix_test.go +++ b/unix/mmap_unix_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris package unix_test diff --git a/unix/openbsd_test.go b/unix/openbsd_test.go index 3ded9607..8da2cba8 100644 --- a/unix/openbsd_test.go +++ b/unix/openbsd_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build openbsd // +build openbsd // This, on the face of it, bizarre testing mechanism is necessary because diff --git a/unix/pagesize_unix.go b/unix/pagesize_unix.go index bc2f3629..53f1b4c5 100644 --- a/unix/pagesize_unix.go +++ b/unix/pagesize_unix.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris // For Unix, get the pagesize from the runtime. diff --git a/unix/pipe2_test.go b/unix/pipe2_test.go index 3cd3bbde..f556b024 100644 --- a/unix/pipe2_test.go +++ b/unix/pipe2_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build dragonfly freebsd linux netbsd openbsd solaris package unix_test diff --git a/unix/ptrace_darwin.go b/unix/ptrace_darwin.go index fc568b54..463c3eff 100644 --- a/unix/ptrace_darwin.go +++ b/unix/ptrace_darwin.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build darwin && !ios // +build darwin,!ios package unix diff --git a/unix/ptrace_ios.go b/unix/ptrace_ios.go index 183441c9..ed0509a0 100644 --- a/unix/ptrace_ios.go +++ b/unix/ptrace_ios.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ios // +build ios package unix diff --git a/unix/race.go b/unix/race.go index 61712b51..6f6c5fec 100644 --- a/unix/race.go +++ b/unix/race.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build (darwin && race) || (linux && race) || (freebsd && race) // +build darwin,race linux,race freebsd,race package unix diff --git a/unix/race0.go b/unix/race0.go index ad026678..64a61983 100644 --- a/unix/race0.go +++ b/unix/race0.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || (darwin && !race) || (linux && !race) || (freebsd && !race) || netbsd || openbsd || solaris || dragonfly // +build aix darwin,!race linux,!race freebsd,!race netbsd openbsd solaris dragonfly package unix diff --git a/unix/readdirent_getdents.go b/unix/readdirent_getdents.go index 3a90aa6d..4d625756 100644 --- a/unix/readdirent_getdents.go +++ b/unix/readdirent_getdents.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || dragonfly || freebsd || linux || netbsd || openbsd // +build aix dragonfly freebsd linux netbsd openbsd package unix diff --git a/unix/readdirent_getdirentries.go b/unix/readdirent_getdirentries.go index 5fdae40b..2a4ba47c 100644 --- a/unix/readdirent_getdirentries.go +++ b/unix/readdirent_getdirentries.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build darwin // +build darwin package unix diff --git a/unix/sendfile_test.go b/unix/sendfile_test.go index 814b4d91..f033ffd5 100644 --- a/unix/sendfile_test.go +++ b/unix/sendfile_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build (darwin && amd64) || (darwin && 386) || dragonfly || freebsd || linux || solaris // +build darwin,amd64 darwin,386 dragonfly freebsd linux solaris package unix_test diff --git a/unix/sockcmsg_unix.go b/unix/sockcmsg_unix.go index 003916ed..5a105917 100644 --- a/unix/sockcmsg_unix.go +++ b/unix/sockcmsg_unix.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris // Socket control messages diff --git a/unix/sockcmsg_unix_other.go b/unix/sockcmsg_unix_other.go index 57a0021d..773c4da0 100644 --- a/unix/sockcmsg_unix_other.go +++ b/unix/sockcmsg_unix_other.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || darwin || freebsd || linux || netbsd || openbsd || solaris // +build aix darwin freebsd linux netbsd openbsd solaris package unix diff --git a/unix/str.go b/unix/str.go index 17fb6986..8ba89ed8 100644 --- a/unix/str.go +++ b/unix/str.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris package unix diff --git a/unix/syscall.go b/unix/syscall.go index ab75ef9c..fe7033f2 100644 --- a/unix/syscall.go +++ b/unix/syscall.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris // Package unix contains an interface to the low-level operating system diff --git a/unix/syscall_aix.go b/unix/syscall_aix.go index 423dcced..d2723225 100644 --- a/unix/syscall_aix.go +++ b/unix/syscall_aix.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix // +build aix // Aix system calls. diff --git a/unix/syscall_aix_ppc.go b/unix/syscall_aix_ppc.go index b3c8e330..e92a0be1 100644 --- a/unix/syscall_aix_ppc.go +++ b/unix/syscall_aix_ppc.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build aix -// +build ppc +//go:build aix && ppc +// +build aix,ppc package unix diff --git a/unix/syscall_aix_ppc64.go b/unix/syscall_aix_ppc64.go index 9a6e0241..16eed170 100644 --- a/unix/syscall_aix_ppc64.go +++ b/unix/syscall_aix_ppc64.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build aix -// +build ppc64 +//go:build aix && ppc64 +// +build aix,ppc64 package unix diff --git a/unix/syscall_aix_test.go b/unix/syscall_aix_test.go index bfa2782e..4b885e8c 100644 --- a/unix/syscall_aix_test.go +++ b/unix/syscall_aix_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix // +build aix package unix_test diff --git a/unix/syscall_bsd.go b/unix/syscall_bsd.go index 678fb277..95ac3946 100644 --- a/unix/syscall_bsd.go +++ b/unix/syscall_bsd.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build darwin || dragonfly || freebsd || netbsd || openbsd // +build darwin dragonfly freebsd netbsd openbsd // BSD system call wrappers shared by *BSD based systems diff --git a/unix/syscall_bsd_test.go b/unix/syscall_bsd_test.go index 81937fbd..50b5f80b 100644 --- a/unix/syscall_bsd_test.go +++ b/unix/syscall_bsd_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build darwin || dragonfly || freebsd || openbsd // +build darwin dragonfly freebsd openbsd package unix_test diff --git a/unix/syscall_darwin.1_12.go b/unix/syscall_darwin.1_12.go index b31ef035..b0098607 100644 --- a/unix/syscall_darwin.1_12.go +++ b/unix/syscall_darwin.1_12.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build darwin && go1.12 && !go1.13 // +build darwin,go1.12,!go1.13 package unix diff --git a/unix/syscall_darwin.1_13.go b/unix/syscall_darwin.1_13.go index ee852f1a..5fc3cda6 100644 --- a/unix/syscall_darwin.1_13.go +++ b/unix/syscall_darwin.1_13.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build darwin && go1.13 // +build darwin,go1.13 package unix diff --git a/unix/syscall_darwin_386.go b/unix/syscall_darwin_386.go index ee065fcf..64746771 100644 --- a/unix/syscall_darwin_386.go +++ b/unix/syscall_darwin_386.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build 386 && darwin // +build 386,darwin package unix diff --git a/unix/syscall_darwin_amd64.go b/unix/syscall_darwin_amd64.go index 7a1f64a7..b37310ce 100644 --- a/unix/syscall_darwin_amd64.go +++ b/unix/syscall_darwin_amd64.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build amd64 && darwin // +build amd64,darwin package unix diff --git a/unix/syscall_darwin_arm64.go b/unix/syscall_darwin_arm64.go index 9f85fd40..d51ec996 100644 --- a/unix/syscall_darwin_arm64.go +++ b/unix/syscall_darwin_arm64.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build arm64 && darwin // +build arm64,darwin package unix diff --git a/unix/syscall_darwin_libSystem.go b/unix/syscall_darwin_libSystem.go index f34c86c8..38bec300 100644 --- a/unix/syscall_darwin_libSystem.go +++ b/unix/syscall_darwin_libSystem.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build darwin && go1.12 // +build darwin,go1.12 package unix diff --git a/unix/syscall_dragonfly_amd64.go b/unix/syscall_dragonfly_amd64.go index a6b4830a..4e2d3212 100644 --- a/unix/syscall_dragonfly_amd64.go +++ b/unix/syscall_dragonfly_amd64.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build amd64 && dragonfly // +build amd64,dragonfly package unix diff --git a/unix/syscall_freebsd_386.go b/unix/syscall_freebsd_386.go index 72a506dd..342fc32b 100644 --- a/unix/syscall_freebsd_386.go +++ b/unix/syscall_freebsd_386.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build 386 && freebsd // +build 386,freebsd package unix diff --git a/unix/syscall_freebsd_amd64.go b/unix/syscall_freebsd_amd64.go index d5e376ac..a32d5aa4 100644 --- a/unix/syscall_freebsd_amd64.go +++ b/unix/syscall_freebsd_amd64.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build amd64 && freebsd // +build amd64,freebsd package unix diff --git a/unix/syscall_freebsd_arm.go b/unix/syscall_freebsd_arm.go index 4ea45bce..1e36d39a 100644 --- a/unix/syscall_freebsd_arm.go +++ b/unix/syscall_freebsd_arm.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build arm && freebsd // +build arm,freebsd package unix diff --git a/unix/syscall_freebsd_arm64.go b/unix/syscall_freebsd_arm64.go index aa5326db..a09a1537 100644 --- a/unix/syscall_freebsd_arm64.go +++ b/unix/syscall_freebsd_arm64.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build arm64 && freebsd // +build arm64,freebsd package unix diff --git a/unix/syscall_freebsd_test.go b/unix/syscall_freebsd_test.go index 0fec1a82..f1b92577 100644 --- a/unix/syscall_freebsd_test.go +++ b/unix/syscall_freebsd_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build freebsd // +build freebsd package unix_test diff --git a/unix/syscall_illumos.go b/unix/syscall_illumos.go index 7a2d4120..bc442e3b 100644 --- a/unix/syscall_illumos.go +++ b/unix/syscall_illumos.go @@ -4,6 +4,7 @@ // illumos system calls not present on Solaris. +//go:build amd64 && illumos // +build amd64,illumos package unix diff --git a/unix/syscall_internal_bsd_test.go b/unix/syscall_internal_bsd_test.go index 6a796c6f..e7422670 100644 --- a/unix/syscall_internal_bsd_test.go +++ b/unix/syscall_internal_bsd_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build darwin || dragonfly || freebsd || netbsd || openbsd // +build darwin dragonfly freebsd netbsd openbsd package unix diff --git a/unix/syscall_internal_linux_test.go b/unix/syscall_internal_linux_test.go index 4c64f54f..55ae32e1 100644 --- a/unix/syscall_internal_linux_test.go +++ b/unix/syscall_internal_linux_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build linux // +build linux package unix diff --git a/unix/syscall_linux_386.go b/unix/syscall_linux_386.go index 70e61bd5..7b52e5d8 100644 --- a/unix/syscall_linux_386.go +++ b/unix/syscall_linux_386.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build 386 && linux // +build 386,linux package unix diff --git a/unix/syscall_linux_amd64.go b/unix/syscall_linux_amd64.go index 4be2acd3..28b76411 100644 --- a/unix/syscall_linux_amd64.go +++ b/unix/syscall_linux_amd64.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build amd64 && linux // +build amd64,linux package unix diff --git a/unix/syscall_linux_amd64_gc.go b/unix/syscall_linux_amd64_gc.go index baa771f8..8b0f0f3a 100644 --- a/unix/syscall_linux_amd64_gc.go +++ b/unix/syscall_linux_amd64_gc.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build amd64,linux -// +build gc +//go:build amd64 && linux && gc +// +build amd64,linux,gc package unix diff --git a/unix/syscall_linux_arm.go b/unix/syscall_linux_arm.go index 322b8e0f..68877728 100644 --- a/unix/syscall_linux_arm.go +++ b/unix/syscall_linux_arm.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build arm && linux // +build arm,linux package unix diff --git a/unix/syscall_linux_arm64.go b/unix/syscall_linux_arm64.go index 9315cf41..7ed70347 100644 --- a/unix/syscall_linux_arm64.go +++ b/unix/syscall_linux_arm64.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build arm64 && linux // +build arm64,linux package unix diff --git a/unix/syscall_linux_gc.go b/unix/syscall_linux_gc.go index 9edf3961..2b1168d7 100644 --- a/unix/syscall_linux_gc.go +++ b/unix/syscall_linux_gc.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build linux && gc // +build linux,gc package unix diff --git a/unix/syscall_linux_gc_386.go b/unix/syscall_linux_gc_386.go index 90e33d8c..9843fb48 100644 --- a/unix/syscall_linux_gc_386.go +++ b/unix/syscall_linux_gc_386.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build linux && gc && 386 // +build linux,gc,386 package unix diff --git a/unix/syscall_linux_gc_arm.go b/unix/syscall_linux_gc_arm.go index 1a97baae..a6008fcc 100644 --- a/unix/syscall_linux_gc_arm.go +++ b/unix/syscall_linux_gc_arm.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build arm && gc && linux // +build arm,gc,linux package unix diff --git a/unix/syscall_linux_gccgo_386.go b/unix/syscall_linux_gccgo_386.go index 308eb7ae..7740af24 100644 --- a/unix/syscall_linux_gccgo_386.go +++ b/unix/syscall_linux_gccgo_386.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build linux && gccgo && 386 // +build linux,gccgo,386 package unix diff --git a/unix/syscall_linux_gccgo_arm.go b/unix/syscall_linux_gccgo_arm.go index aa7fc9e1..e16a1229 100644 --- a/unix/syscall_linux_gccgo_arm.go +++ b/unix/syscall_linux_gccgo_arm.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build linux && gccgo && arm // +build linux,gccgo,arm package unix diff --git a/unix/syscall_linux_mips64x.go b/unix/syscall_linux_mips64x.go index 5fc8a47f..06dec06f 100644 --- a/unix/syscall_linux_mips64x.go +++ b/unix/syscall_linux_mips64x.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build linux && (mips64 || mips64le) // +build linux // +build mips64 mips64le diff --git a/unix/syscall_linux_mipsx.go b/unix/syscall_linux_mipsx.go index 20b9825f..8f0d0a5b 100644 --- a/unix/syscall_linux_mipsx.go +++ b/unix/syscall_linux_mipsx.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build linux && (mips || mipsle) // +build linux // +build mips mipsle diff --git a/unix/syscall_linux_ppc64x.go b/unix/syscall_linux_ppc64x.go index 5162c39b..0b1f0d6d 100644 --- a/unix/syscall_linux_ppc64x.go +++ b/unix/syscall_linux_ppc64x.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build linux && (ppc64 || ppc64le) // +build linux // +build ppc64 ppc64le diff --git a/unix/syscall_linux_riscv64.go b/unix/syscall_linux_riscv64.go index a6a66ece..ce9bcd31 100644 --- a/unix/syscall_linux_riscv64.go +++ b/unix/syscall_linux_riscv64.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build riscv64 && linux // +build riscv64,linux package unix diff --git a/unix/syscall_linux_s390x.go b/unix/syscall_linux_s390x.go index fcef0d1d..a941d888 100644 --- a/unix/syscall_linux_s390x.go +++ b/unix/syscall_linux_s390x.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build s390x && linux // +build s390x,linux package unix diff --git a/unix/syscall_linux_sparc64.go b/unix/syscall_linux_sparc64.go index 3b880448..49055a3c 100644 --- a/unix/syscall_linux_sparc64.go +++ b/unix/syscall_linux_sparc64.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build sparc64 && linux // +build sparc64,linux package unix diff --git a/unix/syscall_linux_test.go b/unix/syscall_linux_test.go index 3625f462..db1a960a 100644 --- a/unix/syscall_linux_test.go +++ b/unix/syscall_linux_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build linux // +build linux package unix_test diff --git a/unix/syscall_netbsd_386.go b/unix/syscall_netbsd_386.go index 24da8b52..5199d282 100644 --- a/unix/syscall_netbsd_386.go +++ b/unix/syscall_netbsd_386.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build 386 && netbsd // +build 386,netbsd package unix diff --git a/unix/syscall_netbsd_amd64.go b/unix/syscall_netbsd_amd64.go index 25a0ac82..70a9c52e 100644 --- a/unix/syscall_netbsd_amd64.go +++ b/unix/syscall_netbsd_amd64.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build amd64 && netbsd // +build amd64,netbsd package unix diff --git a/unix/syscall_netbsd_arm.go b/unix/syscall_netbsd_arm.go index 21591ecd..3eb5942f 100644 --- a/unix/syscall_netbsd_arm.go +++ b/unix/syscall_netbsd_arm.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build arm && netbsd // +build arm,netbsd package unix diff --git a/unix/syscall_netbsd_arm64.go b/unix/syscall_netbsd_arm64.go index 80474963..fc6ccfd8 100644 --- a/unix/syscall_netbsd_arm64.go +++ b/unix/syscall_netbsd_arm64.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build arm64 && netbsd // +build arm64,netbsd package unix diff --git a/unix/syscall_openbsd_386.go b/unix/syscall_openbsd_386.go index 42b5a0e5..6baabcdc 100644 --- a/unix/syscall_openbsd_386.go +++ b/unix/syscall_openbsd_386.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build 386 && openbsd // +build 386,openbsd package unix diff --git a/unix/syscall_openbsd_amd64.go b/unix/syscall_openbsd_amd64.go index 6ea4b488..bab25360 100644 --- a/unix/syscall_openbsd_amd64.go +++ b/unix/syscall_openbsd_amd64.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build amd64 && openbsd // +build amd64,openbsd package unix diff --git a/unix/syscall_openbsd_arm.go b/unix/syscall_openbsd_arm.go index 1c3d26fa..8eed3c4d 100644 --- a/unix/syscall_openbsd_arm.go +++ b/unix/syscall_openbsd_arm.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build arm && openbsd // +build arm,openbsd package unix diff --git a/unix/syscall_openbsd_arm64.go b/unix/syscall_openbsd_arm64.go index a8c458cb..483dde99 100644 --- a/unix/syscall_openbsd_arm64.go +++ b/unix/syscall_openbsd_arm64.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build arm64 && openbsd // +build arm64,openbsd package unix diff --git a/unix/syscall_solaris_amd64.go b/unix/syscall_solaris_amd64.go index b22a34d7..0bd25ef8 100644 --- a/unix/syscall_solaris_amd64.go +++ b/unix/syscall_solaris_amd64.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build amd64 && solaris // +build amd64,solaris package unix diff --git a/unix/syscall_solaris_test.go b/unix/syscall_solaris_test.go index 7734e124..910bdf1c 100644 --- a/unix/syscall_solaris_test.go +++ b/unix/syscall_solaris_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build solaris // +build solaris package unix_test diff --git a/unix/syscall_test.go b/unix/syscall_test.go index 1538c720..7f80134a 100644 --- a/unix/syscall_test.go +++ b/unix/syscall_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris package unix_test diff --git a/unix/syscall_unix.go b/unix/syscall_unix.go index 400ba9fb..a7618ceb 100644 --- a/unix/syscall_unix.go +++ b/unix/syscall_unix.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris package unix diff --git a/unix/syscall_unix_gc.go b/unix/syscall_unix_gc.go index 87bd161c..5898e9a5 100644 --- a/unix/syscall_unix_gc.go +++ b/unix/syscall_unix_gc.go @@ -2,8 +2,11 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build (darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris) && gc && !ppc64le && !ppc64 // +build darwin dragonfly freebsd linux netbsd openbsd solaris -// +build gc,!ppc64le,!ppc64 +// +build gc +// +build !ppc64le +// +build !ppc64 package unix diff --git a/unix/syscall_unix_gc_ppc64x.go b/unix/syscall_unix_gc_ppc64x.go index d36216c3..f6f707ac 100644 --- a/unix/syscall_unix_gc_ppc64x.go +++ b/unix/syscall_unix_gc_ppc64x.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build linux && (ppc64le || ppc64) && gc // +build linux // +build ppc64le ppc64 // +build gc diff --git a/unix/syscall_unix_test.go b/unix/syscall_unix_test.go index 0639ee97..fd67d8b0 100644 --- a/unix/syscall_unix_test.go +++ b/unix/syscall_unix_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris package unix_test diff --git a/unix/timestruct.go b/unix/timestruct.go index 10360429..bd155552 100644 --- a/unix/timestruct.go +++ b/unix/timestruct.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris package unix diff --git a/unix/timestruct_test.go b/unix/timestruct_test.go index 1a72fdb3..e39df4cb 100644 --- a/unix/timestruct_test.go +++ b/unix/timestruct_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris package unix_test diff --git a/unix/types_aix.go b/unix/types_aix.go index 92c03a1c..bfa2a706 100644 --- a/unix/types_aix.go +++ b/unix/types_aix.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build ignore -// +build aix +//go:build ignore && aix +// +build ignore,aix /* Input to cgo -godefs. See also mkerrors.sh and mkall.sh diff --git a/unix/types_darwin.go b/unix/types_darwin.go index 1796a07a..81f8875f 100644 --- a/unix/types_darwin.go +++ b/unix/types_darwin.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore /* diff --git a/unix/types_dragonfly.go b/unix/types_dragonfly.go index 53d77310..3ae8dbf2 100644 --- a/unix/types_dragonfly.go +++ b/unix/types_dragonfly.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore /* diff --git a/unix/types_freebsd.go b/unix/types_freebsd.go index 9be214bb..573f9d8d 100644 --- a/unix/types_freebsd.go +++ b/unix/types_freebsd.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore /* diff --git a/unix/types_netbsd.go b/unix/types_netbsd.go index 051b0e78..04d93b27 100644 --- a/unix/types_netbsd.go +++ b/unix/types_netbsd.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore /* diff --git a/unix/types_openbsd.go b/unix/types_openbsd.go index c49c58e5..ac419e42 100644 --- a/unix/types_openbsd.go +++ b/unix/types_openbsd.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore /* diff --git a/unix/types_solaris.go b/unix/types_solaris.go index 8f045bfa..16adb0d1 100644 --- a/unix/types_solaris.go +++ b/unix/types_solaris.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore /* diff --git a/unix/xattr_bsd.go b/unix/xattr_bsd.go index 30c1d71f..25df1e37 100644 --- a/unix/xattr_bsd.go +++ b/unix/xattr_bsd.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build freebsd || netbsd // +build freebsd netbsd package unix diff --git a/unix/xattr_test.go b/unix/xattr_test.go index 57fc84fb..c7510cad 100644 --- a/unix/xattr_test.go +++ b/unix/xattr_test.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build darwin || freebsd || linux || netbsd // +build darwin freebsd linux netbsd package unix_test diff --git a/unix/zerrors_aix_ppc.go b/unix/zerrors_aix_ppc.go index 104994bc..ca9799b7 100644 --- a/unix/zerrors_aix_ppc.go +++ b/unix/zerrors_aix_ppc.go @@ -1,6 +1,7 @@ // mkerrors.sh -maix32 // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build ppc && aix // +build ppc,aix // Created by cgo -godefs - DO NOT EDIT diff --git a/unix/zerrors_aix_ppc64.go b/unix/zerrors_aix_ppc64.go index 4fc8d306..200c8c26 100644 --- a/unix/zerrors_aix_ppc64.go +++ b/unix/zerrors_aix_ppc64.go @@ -1,6 +1,7 @@ // mkerrors.sh -maix64 // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build ppc64 && aix // +build ppc64,aix // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_darwin_386.go b/unix/zerrors_darwin_386.go index ec376f51..7ee196f7 100644 --- a/unix/zerrors_darwin_386.go +++ b/unix/zerrors_darwin_386.go @@ -1,6 +1,7 @@ // mkerrors.sh -m32 // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build 386 && darwin // +build 386,darwin // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_darwin_amd64.go b/unix/zerrors_darwin_amd64.go index dcb96c26..0100cb12 100644 --- a/unix/zerrors_darwin_amd64.go +++ b/unix/zerrors_darwin_amd64.go @@ -1,6 +1,7 @@ // mkerrors.sh -m64 // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build amd64 && darwin // +build amd64,darwin // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_darwin_arm.go b/unix/zerrors_darwin_arm.go index 03feefbf..e748cb11 100644 --- a/unix/zerrors_darwin_arm.go +++ b/unix/zerrors_darwin_arm.go @@ -1,6 +1,7 @@ // mkerrors.sh // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm && darwin // +build arm,darwin // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_darwin_arm64.go b/unix/zerrors_darwin_arm64.go index 8602b136..df26a196 100644 --- a/unix/zerrors_darwin_arm64.go +++ b/unix/zerrors_darwin_arm64.go @@ -1,6 +1,7 @@ // mkerrors.sh -m64 // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm64 && darwin // +build arm64,darwin // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_dragonfly_amd64.go b/unix/zerrors_dragonfly_amd64.go index f5e91b7a..17bba0e4 100644 --- a/unix/zerrors_dragonfly_amd64.go +++ b/unix/zerrors_dragonfly_amd64.go @@ -1,6 +1,7 @@ // mkerrors.sh -m64 // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build amd64 && dragonfly // +build amd64,dragonfly // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_freebsd_386.go b/unix/zerrors_freebsd_386.go index 3689c808..24fdef16 100644 --- a/unix/zerrors_freebsd_386.go +++ b/unix/zerrors_freebsd_386.go @@ -1,6 +1,7 @@ // mkerrors.sh -m32 // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build 386 && freebsd // +build 386,freebsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_freebsd_amd64.go b/unix/zerrors_freebsd_amd64.go index b8f7c3c9..fede889f 100644 --- a/unix/zerrors_freebsd_amd64.go +++ b/unix/zerrors_freebsd_amd64.go @@ -1,6 +1,7 @@ // mkerrors.sh -m64 // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build amd64 && freebsd // +build amd64,freebsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_freebsd_arm.go b/unix/zerrors_freebsd_arm.go index be14bb1a..6430180f 100644 --- a/unix/zerrors_freebsd_arm.go +++ b/unix/zerrors_freebsd_arm.go @@ -1,6 +1,7 @@ // mkerrors.sh // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm && freebsd // +build arm,freebsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_freebsd_arm64.go b/unix/zerrors_freebsd_arm64.go index 7ce9c008..5a9c21ba 100644 --- a/unix/zerrors_freebsd_arm64.go +++ b/unix/zerrors_freebsd_arm64.go @@ -1,6 +1,7 @@ // mkerrors.sh -m64 // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm64 && freebsd // +build arm64,freebsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_linux.go b/unix/zerrors_linux.go index c5e2f479..14fb7a91 100644 --- a/unix/zerrors_linux.go +++ b/unix/zerrors_linux.go @@ -1,5 +1,6 @@ // Code generated by mkmerge.go; DO NOT EDIT. +//go:build linux // +build linux package unix diff --git a/unix/zerrors_linux_386.go b/unix/zerrors_linux_386.go index c8d5b324..59c07651 100644 --- a/unix/zerrors_linux_386.go +++ b/unix/zerrors_linux_386.go @@ -1,6 +1,7 @@ // mkerrors.sh -Wall -Werror -static -I/tmp/include -m32 // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build 386 && linux // +build 386,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_linux_amd64.go b/unix/zerrors_linux_amd64.go index e605c08b..0f2a91b2 100644 --- a/unix/zerrors_linux_amd64.go +++ b/unix/zerrors_linux_amd64.go @@ -1,6 +1,7 @@ // mkerrors.sh -Wall -Werror -static -I/tmp/include -m64 // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build amd64 && linux // +build amd64,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_linux_arm.go b/unix/zerrors_linux_arm.go index 0279fa1a..fb06da7f 100644 --- a/unix/zerrors_linux_arm.go +++ b/unix/zerrors_linux_arm.go @@ -1,6 +1,7 @@ // mkerrors.sh -Wall -Werror -static -I/tmp/include // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm && linux // +build arm,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_linux_arm64.go b/unix/zerrors_linux_arm64.go index 20c286a1..05a37e03 100644 --- a/unix/zerrors_linux_arm64.go +++ b/unix/zerrors_linux_arm64.go @@ -1,6 +1,7 @@ // mkerrors.sh -Wall -Werror -static -I/tmp/include -fsigned-char // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm64 && linux // +build arm64,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_linux_mips.go b/unix/zerrors_linux_mips.go index 1785f33d..5cd949b2 100644 --- a/unix/zerrors_linux_mips.go +++ b/unix/zerrors_linux_mips.go @@ -1,6 +1,7 @@ // mkerrors.sh -Wall -Werror -static -I/tmp/include // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build mips && linux // +build mips,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_linux_mips64.go b/unix/zerrors_linux_mips64.go index acb1ef1b..38d992fe 100644 --- a/unix/zerrors_linux_mips64.go +++ b/unix/zerrors_linux_mips64.go @@ -1,6 +1,7 @@ // mkerrors.sh -Wall -Werror -static -I/tmp/include // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build mips64 && linux // +build mips64,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_linux_mips64le.go b/unix/zerrors_linux_mips64le.go index 468a4e68..d8cc51b2 100644 --- a/unix/zerrors_linux_mips64le.go +++ b/unix/zerrors_linux_mips64le.go @@ -1,6 +1,7 @@ // mkerrors.sh -Wall -Werror -static -I/tmp/include // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build mips64le && linux // +build mips64le,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_linux_mipsle.go b/unix/zerrors_linux_mipsle.go index 6c9c7f2c..f1375e86 100644 --- a/unix/zerrors_linux_mipsle.go +++ b/unix/zerrors_linux_mipsle.go @@ -1,6 +1,7 @@ // mkerrors.sh -Wall -Werror -static -I/tmp/include // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build mipsle && linux // +build mipsle,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_linux_ppc64.go b/unix/zerrors_linux_ppc64.go index 8961206e..063308ef 100644 --- a/unix/zerrors_linux_ppc64.go +++ b/unix/zerrors_linux_ppc64.go @@ -1,6 +1,7 @@ // mkerrors.sh -Wall -Werror -static -I/tmp/include // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build ppc64 && linux // +build ppc64,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_linux_ppc64le.go b/unix/zerrors_linux_ppc64le.go index 6bcf79dc..0b5dcbf2 100644 --- a/unix/zerrors_linux_ppc64le.go +++ b/unix/zerrors_linux_ppc64le.go @@ -1,6 +1,7 @@ // mkerrors.sh -Wall -Werror -static -I/tmp/include // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build ppc64le && linux // +build ppc64le,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_linux_riscv64.go b/unix/zerrors_linux_riscv64.go index e861d97f..e0cab465 100644 --- a/unix/zerrors_linux_riscv64.go +++ b/unix/zerrors_linux_riscv64.go @@ -1,6 +1,7 @@ // mkerrors.sh -Wall -Werror -static -I/tmp/include // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build riscv64 && linux // +build riscv64,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_linux_s390x.go b/unix/zerrors_linux_s390x.go index d39278be..4e69033d 100644 --- a/unix/zerrors_linux_s390x.go +++ b/unix/zerrors_linux_s390x.go @@ -1,6 +1,7 @@ // mkerrors.sh -Wall -Werror -static -I/tmp/include -fsigned-char // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build s390x && linux // +build s390x,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_linux_sparc64.go b/unix/zerrors_linux_sparc64.go index 6a742fa7..fa650b14 100644 --- a/unix/zerrors_linux_sparc64.go +++ b/unix/zerrors_linux_sparc64.go @@ -1,6 +1,7 @@ // mkerrors.sh -Wall -Werror -static -I/tmp/include // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build sparc64 && linux // +build sparc64,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_netbsd_386.go b/unix/zerrors_netbsd_386.go index 20f3a579..72f7420d 100644 --- a/unix/zerrors_netbsd_386.go +++ b/unix/zerrors_netbsd_386.go @@ -1,6 +1,7 @@ // mkerrors.sh -m32 // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build 386 && netbsd // +build 386,netbsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_netbsd_amd64.go b/unix/zerrors_netbsd_amd64.go index 90b8fcd2..8d4eb0c0 100644 --- a/unix/zerrors_netbsd_amd64.go +++ b/unix/zerrors_netbsd_amd64.go @@ -1,6 +1,7 @@ // mkerrors.sh -m64 // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build amd64 && netbsd // +build amd64,netbsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_netbsd_arm.go b/unix/zerrors_netbsd_arm.go index c5c03993..9eef9749 100644 --- a/unix/zerrors_netbsd_arm.go +++ b/unix/zerrors_netbsd_arm.go @@ -1,6 +1,7 @@ // mkerrors.sh -marm // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm && netbsd // +build arm,netbsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_netbsd_arm64.go b/unix/zerrors_netbsd_arm64.go index 14dd3c1d..3b62ba19 100644 --- a/unix/zerrors_netbsd_arm64.go +++ b/unix/zerrors_netbsd_arm64.go @@ -1,6 +1,7 @@ // mkerrors.sh -m64 // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm64 && netbsd // +build arm64,netbsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_openbsd_386.go b/unix/zerrors_openbsd_386.go index c865a10d..593cc0fe 100644 --- a/unix/zerrors_openbsd_386.go +++ b/unix/zerrors_openbsd_386.go @@ -1,6 +1,7 @@ // mkerrors.sh -m32 // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build 386 && openbsd // +build 386,openbsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_openbsd_amd64.go b/unix/zerrors_openbsd_amd64.go index 9db6b2fb..25cb6094 100644 --- a/unix/zerrors_openbsd_amd64.go +++ b/unix/zerrors_openbsd_amd64.go @@ -1,6 +1,7 @@ // mkerrors.sh -m64 // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build amd64 && openbsd // +build amd64,openbsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_openbsd_arm.go b/unix/zerrors_openbsd_arm.go index 7072526a..a4e4c223 100644 --- a/unix/zerrors_openbsd_arm.go +++ b/unix/zerrors_openbsd_arm.go @@ -1,6 +1,7 @@ // mkerrors.sh // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm && openbsd // +build arm,openbsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_openbsd_arm64.go b/unix/zerrors_openbsd_arm64.go index ac5efbe5..90de7dfc 100644 --- a/unix/zerrors_openbsd_arm64.go +++ b/unix/zerrors_openbsd_arm64.go @@ -1,6 +1,7 @@ // mkerrors.sh -m64 // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm64 && openbsd // +build arm64,openbsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_openbsd_mips64.go b/unix/zerrors_openbsd_mips64.go index a74639a4..f1154ff5 100644 --- a/unix/zerrors_openbsd_mips64.go +++ b/unix/zerrors_openbsd_mips64.go @@ -1,6 +1,7 @@ // mkerrors.sh -m64 // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build mips64 && openbsd // +build mips64,openbsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zerrors_solaris_amd64.go b/unix/zerrors_solaris_amd64.go index 5312c36c..65fb2c5c 100644 --- a/unix/zerrors_solaris_amd64.go +++ b/unix/zerrors_solaris_amd64.go @@ -1,6 +1,7 @@ // mkerrors.sh -m64 // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build amd64 && solaris // +build amd64,solaris // Code generated by cmd/cgo -godefs; DO NOT EDIT. diff --git a/unix/zptrace_armnn_linux.go b/unix/zptrace_armnn_linux.go index 89c5920e..bd001a6e 100644 --- a/unix/zptrace_armnn_linux.go +++ b/unix/zptrace_armnn_linux.go @@ -1,5 +1,6 @@ // Code generated by linux/mkall.go generatePtracePair("arm", "arm64"). DO NOT EDIT. +//go:build linux && (arm || arm64) // +build linux // +build arm arm64 diff --git a/unix/zptrace_mipsnn_linux.go b/unix/zptrace_mipsnn_linux.go index 24b841ee..c34d0639 100644 --- a/unix/zptrace_mipsnn_linux.go +++ b/unix/zptrace_mipsnn_linux.go @@ -1,5 +1,6 @@ // Code generated by linux/mkall.go generatePtracePair("mips", "mips64"). DO NOT EDIT. +//go:build linux && (mips || mips64) // +build linux // +build mips mips64 diff --git a/unix/zptrace_mipsnnle_linux.go b/unix/zptrace_mipsnnle_linux.go index 47b04895..3ccf0c0c 100644 --- a/unix/zptrace_mipsnnle_linux.go +++ b/unix/zptrace_mipsnnle_linux.go @@ -1,5 +1,6 @@ // Code generated by linux/mkall.go generatePtracePair("mipsle", "mips64le"). DO NOT EDIT. +//go:build linux && (mipsle || mips64le) // +build linux // +build mipsle mips64le diff --git a/unix/zptrace_x86_linux.go b/unix/zptrace_x86_linux.go index ea5d9cb5..7d658570 100644 --- a/unix/zptrace_x86_linux.go +++ b/unix/zptrace_x86_linux.go @@ -1,5 +1,6 @@ // Code generated by linux/mkall.go generatePtracePair("386", "amd64"). DO NOT EDIT. +//go:build linux && (386 || amd64) // +build linux // +build 386 amd64 diff --git a/unix/zsyscall_aix_ppc.go b/unix/zsyscall_aix_ppc.go index ed657ff1..91a23cc7 100644 --- a/unix/zsyscall_aix_ppc.go +++ b/unix/zsyscall_aix_ppc.go @@ -1,6 +1,7 @@ // go run mksyscall_aix_ppc.go -aix -tags aix,ppc syscall_aix.go syscall_aix_ppc.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build aix && ppc // +build aix,ppc package unix diff --git a/unix/zsyscall_aix_ppc64.go b/unix/zsyscall_aix_ppc64.go index 664b293b..33c2609b 100644 --- a/unix/zsyscall_aix_ppc64.go +++ b/unix/zsyscall_aix_ppc64.go @@ -1,6 +1,7 @@ // go run mksyscall_aix_ppc64.go -aix -tags aix,ppc64 syscall_aix.go syscall_aix_ppc64.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build aix && ppc64 // +build aix,ppc64 package unix diff --git a/unix/zsyscall_aix_ppc64_gc.go b/unix/zsyscall_aix_ppc64_gc.go index 0550da06..8b737fa9 100644 --- a/unix/zsyscall_aix_ppc64_gc.go +++ b/unix/zsyscall_aix_ppc64_gc.go @@ -1,8 +1,8 @@ // go run mksyscall_aix_ppc64.go -aix -tags aix,ppc64 syscall_aix.go syscall_aix_ppc64.go // Code generated by the command above; see README.md. DO NOT EDIT. -// +build aix,ppc64 -// +build gc +//go:build aix && ppc64 && gc +// +build aix,ppc64,gc package unix diff --git a/unix/zsyscall_aix_ppc64_gccgo.go b/unix/zsyscall_aix_ppc64_gccgo.go index cde4dbc5..3c260917 100644 --- a/unix/zsyscall_aix_ppc64_gccgo.go +++ b/unix/zsyscall_aix_ppc64_gccgo.go @@ -1,8 +1,8 @@ // go run mksyscall_aix_ppc64.go -aix -tags aix,ppc64 syscall_aix.go syscall_aix_ppc64.go // Code generated by the command above; see README.md. DO NOT EDIT. -// +build aix,ppc64 -// +build gccgo +//go:build aix && ppc64 && gccgo +// +build aix,ppc64,gccgo package unix diff --git a/unix/zsyscall_darwin_386.1_13.go b/unix/zsyscall_darwin_386.1_13.go index c8c142c5..48a62e39 100644 --- a/unix/zsyscall_darwin_386.1_13.go +++ b/unix/zsyscall_darwin_386.1_13.go @@ -1,6 +1,7 @@ // go run mksyscall.go -l32 -tags darwin,386,go1.13 syscall_darwin.1_13.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build darwin && 386 && go1.13 // +build darwin,386,go1.13 package unix diff --git a/unix/zsyscall_darwin_386.go b/unix/zsyscall_darwin_386.go index 38771834..a266636a 100644 --- a/unix/zsyscall_darwin_386.go +++ b/unix/zsyscall_darwin_386.go @@ -1,6 +1,7 @@ // go run mksyscall.go -l32 -tags darwin,386,go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_386.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build darwin && 386 && go1.12 // +build darwin,386,go1.12 package unix diff --git a/unix/zsyscall_darwin_amd64.1_13.go b/unix/zsyscall_darwin_amd64.1_13.go index 88826236..e36299ea 100644 --- a/unix/zsyscall_darwin_amd64.1_13.go +++ b/unix/zsyscall_darwin_amd64.1_13.go @@ -1,6 +1,7 @@ // go run mksyscall.go -tags darwin,amd64,go1.13 syscall_darwin.1_13.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build darwin && amd64 && go1.13 // +build darwin,amd64,go1.13 package unix diff --git a/unix/zsyscall_darwin_amd64.go b/unix/zsyscall_darwin_amd64.go index 508e5639..f4111628 100644 --- a/unix/zsyscall_darwin_amd64.go +++ b/unix/zsyscall_darwin_amd64.go @@ -1,6 +1,7 @@ // go run mksyscall.go -tags darwin,amd64,go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_amd64.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build darwin && amd64 && go1.12 // +build darwin,amd64,go1.12 package unix diff --git a/unix/zsyscall_darwin_arm.1_13.go b/unix/zsyscall_darwin_arm.1_13.go index de4738ff..ed437f89 100644 --- a/unix/zsyscall_darwin_arm.1_13.go +++ b/unix/zsyscall_darwin_arm.1_13.go @@ -1,6 +1,7 @@ // go run mksyscall.go -l32 -tags darwin,arm,go1.13 syscall_darwin.1_13.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build darwin && arm && go1.13 // +build darwin,arm,go1.13 package unix diff --git a/unix/zsyscall_darwin_arm.go b/unix/zsyscall_darwin_arm.go index c0c771f4..7f88cb5e 100644 --- a/unix/zsyscall_darwin_arm.go +++ b/unix/zsyscall_darwin_arm.go @@ -1,6 +1,7 @@ // go run mksyscall.go -l32 -tags darwin,arm,go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_arm.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build darwin && arm && go1.12 // +build darwin,arm,go1.12 package unix diff --git a/unix/zsyscall_darwin_arm64.1_13.go b/unix/zsyscall_darwin_arm64.1_13.go index 870eb37a..d30ec4e2 100644 --- a/unix/zsyscall_darwin_arm64.1_13.go +++ b/unix/zsyscall_darwin_arm64.1_13.go @@ -1,6 +1,7 @@ // go run mksyscall.go -tags darwin,arm64,go1.13 syscall_darwin.1_13.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build darwin && arm64 && go1.13 // +build darwin,arm64,go1.13 package unix diff --git a/unix/zsyscall_darwin_arm64.go b/unix/zsyscall_darwin_arm64.go index 9b01a79c..a10df58d 100644 --- a/unix/zsyscall_darwin_arm64.go +++ b/unix/zsyscall_darwin_arm64.go @@ -1,6 +1,7 @@ // go run mksyscall.go -tags darwin,arm64,go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_arm64.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build darwin && arm64 && go1.12 // +build darwin,arm64,go1.12 package unix diff --git a/unix/zsyscall_dragonfly_amd64.go b/unix/zsyscall_dragonfly_amd64.go index 104f77d5..556a0451 100644 --- a/unix/zsyscall_dragonfly_amd64.go +++ b/unix/zsyscall_dragonfly_amd64.go @@ -1,6 +1,7 @@ // go run mksyscall.go -dragonfly -tags dragonfly,amd64 syscall_bsd.go syscall_dragonfly.go syscall_dragonfly_amd64.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build dragonfly && amd64 // +build dragonfly,amd64 package unix diff --git a/unix/zsyscall_freebsd_386.go b/unix/zsyscall_freebsd_386.go index 600f1d26..3e9bddb7 100644 --- a/unix/zsyscall_freebsd_386.go +++ b/unix/zsyscall_freebsd_386.go @@ -1,6 +1,7 @@ // go run mksyscall.go -l32 -tags freebsd,386 syscall_bsd.go syscall_freebsd.go syscall_freebsd_386.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build freebsd && 386 // +build freebsd,386 package unix diff --git a/unix/zsyscall_freebsd_amd64.go b/unix/zsyscall_freebsd_amd64.go index 064934b0..c72a462b 100644 --- a/unix/zsyscall_freebsd_amd64.go +++ b/unix/zsyscall_freebsd_amd64.go @@ -1,6 +1,7 @@ // go run mksyscall.go -tags freebsd,amd64 syscall_bsd.go syscall_freebsd.go syscall_freebsd_amd64.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build freebsd && amd64 // +build freebsd,amd64 package unix diff --git a/unix/zsyscall_freebsd_arm.go b/unix/zsyscall_freebsd_arm.go index 31d2c461..530d5df9 100644 --- a/unix/zsyscall_freebsd_arm.go +++ b/unix/zsyscall_freebsd_arm.go @@ -1,6 +1,7 @@ // go run mksyscall.go -l32 -arm -tags freebsd,arm syscall_bsd.go syscall_freebsd.go syscall_freebsd_arm.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build freebsd && arm // +build freebsd,arm package unix diff --git a/unix/zsyscall_freebsd_arm64.go b/unix/zsyscall_freebsd_arm64.go index 4adaaa56..71e7df9e 100644 --- a/unix/zsyscall_freebsd_arm64.go +++ b/unix/zsyscall_freebsd_arm64.go @@ -1,6 +1,7 @@ // go run mksyscall.go -tags freebsd,arm64 syscall_bsd.go syscall_freebsd.go syscall_freebsd_arm64.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build freebsd && arm64 // +build freebsd,arm64 package unix diff --git a/unix/zsyscall_illumos_amd64.go b/unix/zsyscall_illumos_amd64.go index 665dd9e4..b57c7050 100644 --- a/unix/zsyscall_illumos_amd64.go +++ b/unix/zsyscall_illumos_amd64.go @@ -1,6 +1,7 @@ // go run mksyscall_solaris.go -illumos -tags illumos,amd64 syscall_illumos.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build illumos && amd64 // +build illumos,amd64 package unix diff --git a/unix/zsyscall_linux.go b/unix/zsyscall_linux.go index 2fbbbe5a..3ee26f4a 100644 --- a/unix/zsyscall_linux.go +++ b/unix/zsyscall_linux.go @@ -1,5 +1,6 @@ // Code generated by mkmerge.go; DO NOT EDIT. +//go:build linux // +build linux package unix diff --git a/unix/zsyscall_linux_386.go b/unix/zsyscall_linux_386.go index 19ebd3ff..e37096e4 100644 --- a/unix/zsyscall_linux_386.go +++ b/unix/zsyscall_linux_386.go @@ -1,6 +1,7 @@ // go run mksyscall.go -l32 -tags linux,386 syscall_linux.go syscall_linux_386.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build linux && 386 // +build linux,386 package unix diff --git a/unix/zsyscall_linux_amd64.go b/unix/zsyscall_linux_amd64.go index 5c562182..9919d848 100644 --- a/unix/zsyscall_linux_amd64.go +++ b/unix/zsyscall_linux_amd64.go @@ -1,6 +1,7 @@ // go run mksyscall.go -tags linux,amd64 syscall_linux.go syscall_linux_amd64.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build linux && amd64 // +build linux,amd64 package unix diff --git a/unix/zsyscall_linux_arm.go b/unix/zsyscall_linux_arm.go index dc69d99c..076754d4 100644 --- a/unix/zsyscall_linux_arm.go +++ b/unix/zsyscall_linux_arm.go @@ -1,6 +1,7 @@ // go run mksyscall.go -l32 -arm -tags linux,arm syscall_linux.go syscall_linux_arm.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build linux && arm // +build linux,arm package unix diff --git a/unix/zsyscall_linux_arm64.go b/unix/zsyscall_linux_arm64.go index 1b897dee..e893f987 100644 --- a/unix/zsyscall_linux_arm64.go +++ b/unix/zsyscall_linux_arm64.go @@ -1,6 +1,7 @@ // go run mksyscall.go -tags linux,arm64 syscall_linux.go syscall_linux_arm64.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build linux && arm64 // +build linux,arm64 package unix diff --git a/unix/zsyscall_linux_mips.go b/unix/zsyscall_linux_mips.go index 49186843..4703cf3c 100644 --- a/unix/zsyscall_linux_mips.go +++ b/unix/zsyscall_linux_mips.go @@ -1,6 +1,7 @@ // go run mksyscall.go -b32 -arm -tags linux,mips syscall_linux.go syscall_linux_mipsx.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build linux && mips // +build linux,mips package unix diff --git a/unix/zsyscall_linux_mips64.go b/unix/zsyscall_linux_mips64.go index 9171d3bd..a134f9a4 100644 --- a/unix/zsyscall_linux_mips64.go +++ b/unix/zsyscall_linux_mips64.go @@ -1,6 +1,7 @@ // go run mksyscall.go -tags linux,mips64 syscall_linux.go syscall_linux_mips64x.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build linux && mips64 // +build linux,mips64 package unix diff --git a/unix/zsyscall_linux_mips64le.go b/unix/zsyscall_linux_mips64le.go index 82286f04..b1fff2d9 100644 --- a/unix/zsyscall_linux_mips64le.go +++ b/unix/zsyscall_linux_mips64le.go @@ -1,6 +1,7 @@ // go run mksyscall.go -tags linux,mips64le syscall_linux.go syscall_linux_mips64x.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build linux && mips64le // +build linux,mips64le package unix diff --git a/unix/zsyscall_linux_mipsle.go b/unix/zsyscall_linux_mipsle.go index 15920621..d13d6da0 100644 --- a/unix/zsyscall_linux_mipsle.go +++ b/unix/zsyscall_linux_mipsle.go @@ -1,6 +1,7 @@ // go run mksyscall.go -l32 -arm -tags linux,mipsle syscall_linux.go syscall_linux_mipsx.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build linux && mipsle // +build linux,mipsle package unix diff --git a/unix/zsyscall_linux_ppc64.go b/unix/zsyscall_linux_ppc64.go index 73a42e2c..da8ec039 100644 --- a/unix/zsyscall_linux_ppc64.go +++ b/unix/zsyscall_linux_ppc64.go @@ -1,6 +1,7 @@ // go run mksyscall.go -tags linux,ppc64 syscall_linux.go syscall_linux_ppc64x.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build linux && ppc64 // +build linux,ppc64 package unix diff --git a/unix/zsyscall_linux_ppc64le.go b/unix/zsyscall_linux_ppc64le.go index 6b855953..083f493b 100644 --- a/unix/zsyscall_linux_ppc64le.go +++ b/unix/zsyscall_linux_ppc64le.go @@ -1,6 +1,7 @@ // go run mksyscall.go -tags linux,ppc64le syscall_linux.go syscall_linux_ppc64x.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build linux && ppc64le // +build linux,ppc64le package unix diff --git a/unix/zsyscall_linux_riscv64.go b/unix/zsyscall_linux_riscv64.go index b7613344..63b393b8 100644 --- a/unix/zsyscall_linux_riscv64.go +++ b/unix/zsyscall_linux_riscv64.go @@ -1,6 +1,7 @@ // go run mksyscall.go -tags linux,riscv64 syscall_linux.go syscall_linux_riscv64.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build linux && riscv64 // +build linux,riscv64 package unix diff --git a/unix/zsyscall_linux_s390x.go b/unix/zsyscall_linux_s390x.go index d7032ab1..bb347407 100644 --- a/unix/zsyscall_linux_s390x.go +++ b/unix/zsyscall_linux_s390x.go @@ -1,6 +1,7 @@ // go run mksyscall.go -tags linux,s390x syscall_linux.go syscall_linux_s390x.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build linux && s390x // +build linux,s390x package unix diff --git a/unix/zsyscall_linux_sparc64.go b/unix/zsyscall_linux_sparc64.go index bcbbdd90..8edc517e 100644 --- a/unix/zsyscall_linux_sparc64.go +++ b/unix/zsyscall_linux_sparc64.go @@ -1,6 +1,7 @@ // go run mksyscall.go -tags linux,sparc64 syscall_linux.go syscall_linux_sparc64.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build linux && sparc64 // +build linux,sparc64 package unix diff --git a/unix/zsyscall_netbsd_386.go b/unix/zsyscall_netbsd_386.go index 1d6f71d9..4726ab30 100644 --- a/unix/zsyscall_netbsd_386.go +++ b/unix/zsyscall_netbsd_386.go @@ -1,6 +1,7 @@ // go run mksyscall.go -l32 -netbsd -tags netbsd,386 syscall_bsd.go syscall_netbsd.go syscall_netbsd_386.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build netbsd && 386 // +build netbsd,386 package unix diff --git a/unix/zsyscall_netbsd_amd64.go b/unix/zsyscall_netbsd_amd64.go index 82f50506..fe71456d 100644 --- a/unix/zsyscall_netbsd_amd64.go +++ b/unix/zsyscall_netbsd_amd64.go @@ -1,6 +1,7 @@ // go run mksyscall.go -netbsd -tags netbsd,amd64 syscall_bsd.go syscall_netbsd.go syscall_netbsd_amd64.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build netbsd && amd64 // +build netbsd,amd64 package unix diff --git a/unix/zsyscall_netbsd_arm.go b/unix/zsyscall_netbsd_arm.go index b4db55a0..0b5b2f01 100644 --- a/unix/zsyscall_netbsd_arm.go +++ b/unix/zsyscall_netbsd_arm.go @@ -1,6 +1,7 @@ // go run mksyscall.go -l32 -netbsd -arm -tags netbsd,arm syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build netbsd && arm // +build netbsd,arm package unix diff --git a/unix/zsyscall_netbsd_arm64.go b/unix/zsyscall_netbsd_arm64.go index e9f6d797..bfca2864 100644 --- a/unix/zsyscall_netbsd_arm64.go +++ b/unix/zsyscall_netbsd_arm64.go @@ -1,6 +1,7 @@ // go run mksyscall.go -netbsd -tags netbsd,arm64 syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm64.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build netbsd && arm64 // +build netbsd,arm64 package unix diff --git a/unix/zsyscall_openbsd_386.go b/unix/zsyscall_openbsd_386.go index b44b31ae..8f80f4ad 100644 --- a/unix/zsyscall_openbsd_386.go +++ b/unix/zsyscall_openbsd_386.go @@ -1,6 +1,7 @@ // go run mksyscall.go -l32 -openbsd -tags openbsd,386 syscall_bsd.go syscall_openbsd.go syscall_openbsd_386.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build openbsd && 386 // +build openbsd,386 package unix diff --git a/unix/zsyscall_openbsd_amd64.go b/unix/zsyscall_openbsd_amd64.go index 67f93ee7..3a47aca7 100644 --- a/unix/zsyscall_openbsd_amd64.go +++ b/unix/zsyscall_openbsd_amd64.go @@ -1,6 +1,7 @@ // go run mksyscall.go -openbsd -tags openbsd,amd64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_amd64.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build openbsd && amd64 // +build openbsd,amd64 package unix diff --git a/unix/zsyscall_openbsd_arm.go b/unix/zsyscall_openbsd_arm.go index d7c878b1..883a9b45 100644 --- a/unix/zsyscall_openbsd_arm.go +++ b/unix/zsyscall_openbsd_arm.go @@ -1,6 +1,7 @@ // go run mksyscall.go -l32 -openbsd -arm -tags openbsd,arm syscall_bsd.go syscall_openbsd.go syscall_openbsd_arm.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build openbsd && arm // +build openbsd,arm package unix diff --git a/unix/zsyscall_openbsd_arm64.go b/unix/zsyscall_openbsd_arm64.go index 8facd695..aac7fdc9 100644 --- a/unix/zsyscall_openbsd_arm64.go +++ b/unix/zsyscall_openbsd_arm64.go @@ -1,6 +1,7 @@ // go run mksyscall.go -openbsd -tags openbsd,arm64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_arm64.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build openbsd && arm64 // +build openbsd,arm64 package unix diff --git a/unix/zsyscall_openbsd_mips64.go b/unix/zsyscall_openbsd_mips64.go index ec6bd5bb..87761874 100644 --- a/unix/zsyscall_openbsd_mips64.go +++ b/unix/zsyscall_openbsd_mips64.go @@ -1,6 +1,7 @@ // go run mksyscall.go -openbsd -tags openbsd,mips64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_mips64.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build openbsd && mips64 // +build openbsd,mips64 package unix diff --git a/unix/zsyscall_solaris_amd64.go b/unix/zsyscall_solaris_amd64.go index 9898ce1f..7099f555 100644 --- a/unix/zsyscall_solaris_amd64.go +++ b/unix/zsyscall_solaris_amd64.go @@ -1,6 +1,7 @@ // go run mksyscall_solaris.go -tags solaris,amd64 syscall_solaris.go syscall_solaris_amd64.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build solaris && amd64 // +build solaris,amd64 package unix diff --git a/unix/zsysctl_openbsd_386.go b/unix/zsysctl_openbsd_386.go index 102f1ab4..9e9d0b2a 100644 --- a/unix/zsysctl_openbsd_386.go +++ b/unix/zsysctl_openbsd_386.go @@ -1,6 +1,7 @@ // go run mksysctl_openbsd.go // Code generated by the command above; DO NOT EDIT. +//go:build 386 && openbsd // +build 386,openbsd package unix diff --git a/unix/zsysctl_openbsd_amd64.go b/unix/zsysctl_openbsd_amd64.go index 4866fced..adecd096 100644 --- a/unix/zsysctl_openbsd_amd64.go +++ b/unix/zsysctl_openbsd_amd64.go @@ -1,6 +1,7 @@ // go run mksysctl_openbsd.go // Code generated by the command above; DO NOT EDIT. +//go:build amd64 && openbsd // +build amd64,openbsd package unix diff --git a/unix/zsysctl_openbsd_arm.go b/unix/zsysctl_openbsd_arm.go index d3801eb2..8ea52a4a 100644 --- a/unix/zsysctl_openbsd_arm.go +++ b/unix/zsysctl_openbsd_arm.go @@ -1,6 +1,7 @@ // go run mksysctl_openbsd.go // Code generated by the command above; DO NOT EDIT. +//go:build arm && openbsd // +build arm,openbsd package unix diff --git a/unix/zsysctl_openbsd_arm64.go b/unix/zsysctl_openbsd_arm64.go index ba4304fd..154b57ae 100644 --- a/unix/zsysctl_openbsd_arm64.go +++ b/unix/zsysctl_openbsd_arm64.go @@ -1,6 +1,7 @@ // go run mksysctl_openbsd.go // Code generated by the command above; DO NOT EDIT. +//go:build arm64 && openbsd // +build arm64,openbsd package unix diff --git a/unix/zsysctl_openbsd_mips64.go b/unix/zsysctl_openbsd_mips64.go index aca34b34..d96bb2ba 100644 --- a/unix/zsysctl_openbsd_mips64.go +++ b/unix/zsysctl_openbsd_mips64.go @@ -1,6 +1,7 @@ // go run mksysctl_openbsd.go // Code generated by the command above; DO NOT EDIT. +//go:build mips64 && openbsd // +build mips64,openbsd package unix diff --git a/unix/zsysnum_darwin_386.go b/unix/zsysnum_darwin_386.go index ad62324c..1794ffc9 100644 --- a/unix/zsysnum_darwin_386.go +++ b/unix/zsysnum_darwin_386.go @@ -1,6 +1,7 @@ // go run mksysnum.go /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/syscall.h // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build 386 && darwin // +build 386,darwin package unix diff --git a/unix/zsysnum_darwin_amd64.go b/unix/zsysnum_darwin_amd64.go index a2fc91d6..f8298ff9 100644 --- a/unix/zsysnum_darwin_amd64.go +++ b/unix/zsysnum_darwin_amd64.go @@ -1,6 +1,7 @@ // go run mksysnum.go /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/syscall.h // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build amd64 && darwin // +build amd64,darwin package unix diff --git a/unix/zsysnum_darwin_arm.go b/unix/zsysnum_darwin_arm.go index 20d7808a..6dc73644 100644 --- a/unix/zsysnum_darwin_arm.go +++ b/unix/zsysnum_darwin_arm.go @@ -1,6 +1,7 @@ // go run mksysnum.go /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.1.sdk/usr/include/sys/syscall.h // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm && darwin // +build arm,darwin package unix diff --git a/unix/zsysnum_darwin_arm64.go b/unix/zsysnum_darwin_arm64.go index 527b9588..5eb433bb 100644 --- a/unix/zsysnum_darwin_arm64.go +++ b/unix/zsysnum_darwin_arm64.go @@ -1,6 +1,7 @@ // go run mksysnum.go /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.1.sdk/usr/include/sys/syscall.h // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm64 && darwin // +build arm64,darwin package unix diff --git a/unix/zsysnum_dragonfly_amd64.go b/unix/zsysnum_dragonfly_amd64.go index 9912c6ee..703675c0 100644 --- a/unix/zsysnum_dragonfly_amd64.go +++ b/unix/zsysnum_dragonfly_amd64.go @@ -1,6 +1,7 @@ // go run mksysnum.go https://gitweb.dragonflybsd.org/dragonfly.git/blob_plain/HEAD:/sys/kern/syscalls.master // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build amd64 && dragonfly // +build amd64,dragonfly package unix diff --git a/unix/zsysnum_freebsd_386.go b/unix/zsysnum_freebsd_386.go index 9474974b..59d5dfc2 100644 --- a/unix/zsysnum_freebsd_386.go +++ b/unix/zsysnum_freebsd_386.go @@ -1,6 +1,7 @@ // go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build 386 && freebsd // +build 386,freebsd package unix diff --git a/unix/zsysnum_freebsd_amd64.go b/unix/zsysnum_freebsd_amd64.go index 48a7beae..342d471d 100644 --- a/unix/zsysnum_freebsd_amd64.go +++ b/unix/zsysnum_freebsd_amd64.go @@ -1,6 +1,7 @@ // go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build amd64 && freebsd // +build amd64,freebsd package unix diff --git a/unix/zsysnum_freebsd_arm.go b/unix/zsysnum_freebsd_arm.go index 4a6dfd4a..e2e3d72c 100644 --- a/unix/zsysnum_freebsd_arm.go +++ b/unix/zsysnum_freebsd_arm.go @@ -1,6 +1,7 @@ // go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm && freebsd // +build arm,freebsd package unix diff --git a/unix/zsysnum_freebsd_arm64.go b/unix/zsysnum_freebsd_arm64.go index 3e51af8e..61ad5ca3 100644 --- a/unix/zsysnum_freebsd_arm64.go +++ b/unix/zsysnum_freebsd_arm64.go @@ -1,6 +1,7 @@ // go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm64 && freebsd // +build arm64,freebsd package unix diff --git a/unix/zsysnum_linux_386.go b/unix/zsysnum_linux_386.go index c80f3c7b..8e535971 100644 --- a/unix/zsysnum_linux_386.go +++ b/unix/zsysnum_linux_386.go @@ -1,6 +1,7 @@ // go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include -m32 /tmp/include/asm/unistd.h // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build 386 && linux // +build 386,linux package unix diff --git a/unix/zsysnum_linux_amd64.go b/unix/zsysnum_linux_amd64.go index 2369995c..d7dceb76 100644 --- a/unix/zsysnum_linux_amd64.go +++ b/unix/zsysnum_linux_amd64.go @@ -1,6 +1,7 @@ // go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include -m64 /tmp/include/asm/unistd.h // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build amd64 && linux // +build amd64,linux package unix diff --git a/unix/zsysnum_linux_arm.go b/unix/zsysnum_linux_arm.go index 971c5af6..04093a69 100644 --- a/unix/zsysnum_linux_arm.go +++ b/unix/zsysnum_linux_arm.go @@ -1,6 +1,7 @@ // go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm && linux // +build arm,linux package unix diff --git a/unix/zsysnum_linux_arm64.go b/unix/zsysnum_linux_arm64.go index a5e410b2..48f94f13 100644 --- a/unix/zsysnum_linux_arm64.go +++ b/unix/zsysnum_linux_arm64.go @@ -1,6 +1,7 @@ // go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include -fsigned-char /tmp/include/asm/unistd.h // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm64 && linux // +build arm64,linux package unix diff --git a/unix/zsysnum_linux_mips.go b/unix/zsysnum_linux_mips.go index 438a6ea4..499978c3 100644 --- a/unix/zsysnum_linux_mips.go +++ b/unix/zsysnum_linux_mips.go @@ -1,6 +1,7 @@ // go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build mips && linux // +build mips,linux package unix diff --git a/unix/zsysnum_linux_mips64.go b/unix/zsysnum_linux_mips64.go index 622472da..10d1db2b 100644 --- a/unix/zsysnum_linux_mips64.go +++ b/unix/zsysnum_linux_mips64.go @@ -1,6 +1,7 @@ // go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build mips64 && linux // +build mips64,linux package unix diff --git a/unix/zsysnum_linux_mips64le.go b/unix/zsysnum_linux_mips64le.go index e029b989..208d5dcd 100644 --- a/unix/zsysnum_linux_mips64le.go +++ b/unix/zsysnum_linux_mips64le.go @@ -1,6 +1,7 @@ // go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build mips64le && linux // +build mips64le,linux package unix diff --git a/unix/zsysnum_linux_mipsle.go b/unix/zsysnum_linux_mipsle.go index 86a497b5..f8250602 100644 --- a/unix/zsysnum_linux_mipsle.go +++ b/unix/zsysnum_linux_mipsle.go @@ -1,6 +1,7 @@ // go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build mipsle && linux // +build mipsle,linux package unix diff --git a/unix/zsysnum_linux_ppc64.go b/unix/zsysnum_linux_ppc64.go index b6b0b5e6..d5ed3ff5 100644 --- a/unix/zsysnum_linux_ppc64.go +++ b/unix/zsysnum_linux_ppc64.go @@ -1,6 +1,7 @@ // go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build ppc64 && linux // +build ppc64,linux package unix diff --git a/unix/zsysnum_linux_ppc64le.go b/unix/zsysnum_linux_ppc64le.go index b344db01..e29b4424 100644 --- a/unix/zsysnum_linux_ppc64le.go +++ b/unix/zsysnum_linux_ppc64le.go @@ -1,6 +1,7 @@ // go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build ppc64le && linux // +build ppc64le,linux package unix diff --git a/unix/zsysnum_linux_riscv64.go b/unix/zsysnum_linux_riscv64.go index 9b8fa53d..41deed6c 100644 --- a/unix/zsysnum_linux_riscv64.go +++ b/unix/zsysnum_linux_riscv64.go @@ -1,6 +1,7 @@ // go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build riscv64 && linux // +build riscv64,linux package unix diff --git a/unix/zsysnum_linux_s390x.go b/unix/zsysnum_linux_s390x.go index 8261f72c..8e53a9e8 100644 --- a/unix/zsysnum_linux_s390x.go +++ b/unix/zsysnum_linux_s390x.go @@ -1,6 +1,7 @@ // go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include -fsigned-char /tmp/include/asm/unistd.h // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build s390x && linux // +build s390x,linux package unix diff --git a/unix/zsysnum_linux_sparc64.go b/unix/zsysnum_linux_sparc64.go index f4bbeb3d..596e5bc7 100644 --- a/unix/zsysnum_linux_sparc64.go +++ b/unix/zsysnum_linux_sparc64.go @@ -1,6 +1,7 @@ // go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build sparc64 && linux // +build sparc64,linux package unix diff --git a/unix/zsysnum_netbsd_386.go b/unix/zsysnum_netbsd_386.go index e66a8c9d..3a6699eb 100644 --- a/unix/zsysnum_netbsd_386.go +++ b/unix/zsysnum_netbsd_386.go @@ -1,6 +1,7 @@ // go run mksysnum.go http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build 386 && netbsd // +build 386,netbsd package unix diff --git a/unix/zsysnum_netbsd_amd64.go b/unix/zsysnum_netbsd_amd64.go index 42c788f2..5677cd4f 100644 --- a/unix/zsysnum_netbsd_amd64.go +++ b/unix/zsysnum_netbsd_amd64.go @@ -1,6 +1,7 @@ // go run mksysnum.go http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build amd64 && netbsd // +build amd64,netbsd package unix diff --git a/unix/zsysnum_netbsd_arm.go b/unix/zsysnum_netbsd_arm.go index 0a075717..e784cb6d 100644 --- a/unix/zsysnum_netbsd_arm.go +++ b/unix/zsysnum_netbsd_arm.go @@ -1,6 +1,7 @@ // go run mksysnum.go http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm && netbsd // +build arm,netbsd package unix diff --git a/unix/zsysnum_netbsd_arm64.go b/unix/zsysnum_netbsd_arm64.go index 0291c093..bd4952ef 100644 --- a/unix/zsysnum_netbsd_arm64.go +++ b/unix/zsysnum_netbsd_arm64.go @@ -1,6 +1,7 @@ // go run mksysnum.go http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master // Code generated by the command above; DO NOT EDIT. +//go:build arm64 && netbsd // +build arm64,netbsd package unix diff --git a/unix/zsysnum_openbsd_386.go b/unix/zsysnum_openbsd_386.go index b0207d1c..817edbf9 100644 --- a/unix/zsysnum_openbsd_386.go +++ b/unix/zsysnum_openbsd_386.go @@ -1,6 +1,7 @@ // go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build 386 && openbsd // +build 386,openbsd package unix diff --git a/unix/zsysnum_openbsd_amd64.go b/unix/zsysnum_openbsd_amd64.go index f0dec6f0..ea453614 100644 --- a/unix/zsysnum_openbsd_amd64.go +++ b/unix/zsysnum_openbsd_amd64.go @@ -1,6 +1,7 @@ // go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build amd64 && openbsd // +build amd64,openbsd package unix diff --git a/unix/zsysnum_openbsd_arm.go b/unix/zsysnum_openbsd_arm.go index 33d1dc54..467971ee 100644 --- a/unix/zsysnum_openbsd_arm.go +++ b/unix/zsysnum_openbsd_arm.go @@ -1,6 +1,7 @@ // go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm && openbsd // +build arm,openbsd package unix diff --git a/unix/zsysnum_openbsd_arm64.go b/unix/zsysnum_openbsd_arm64.go index fe2b689b..32eec5ed 100644 --- a/unix/zsysnum_openbsd_arm64.go +++ b/unix/zsysnum_openbsd_arm64.go @@ -1,6 +1,7 @@ // go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm64 && openbsd // +build arm64,openbsd package unix diff --git a/unix/zsysnum_openbsd_mips64.go b/unix/zsysnum_openbsd_mips64.go index 5c08d573..a37f7737 100644 --- a/unix/zsysnum_openbsd_mips64.go +++ b/unix/zsysnum_openbsd_mips64.go @@ -1,6 +1,7 @@ // go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build mips64 && openbsd // +build mips64,openbsd package unix diff --git a/unix/ztypes_aix_ppc.go b/unix/ztypes_aix_ppc.go index 295859c5..7a8161c1 100644 --- a/unix/ztypes_aix_ppc.go +++ b/unix/ztypes_aix_ppc.go @@ -1,6 +1,7 @@ // cgo -godefs types_aix.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build ppc && aix // +build ppc,aix package unix diff --git a/unix/ztypes_aix_ppc64.go b/unix/ztypes_aix_ppc64.go index a9ee0ffd..07ed733c 100644 --- a/unix/ztypes_aix_ppc64.go +++ b/unix/ztypes_aix_ppc64.go @@ -1,6 +1,7 @@ // cgo -godefs types_aix.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build ppc64 && aix // +build ppc64,aix package unix diff --git a/unix/ztypes_darwin_386.go b/unix/ztypes_darwin_386.go index 725b4bee..54db4333 100644 --- a/unix/ztypes_darwin_386.go +++ b/unix/ztypes_darwin_386.go @@ -1,6 +1,7 @@ // cgo -godefs types_darwin.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build 386 && darwin // +build 386,darwin package unix diff --git a/unix/ztypes_darwin_amd64.go b/unix/ztypes_darwin_amd64.go index bb39542f..eb73e52f 100644 --- a/unix/ztypes_darwin_amd64.go +++ b/unix/ztypes_darwin_amd64.go @@ -1,6 +1,7 @@ // cgo -godefs types_darwin.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build amd64 && darwin // +build amd64,darwin package unix diff --git a/unix/ztypes_darwin_arm.go b/unix/ztypes_darwin_arm.go index f2a77bc4..8606d654 100644 --- a/unix/ztypes_darwin_arm.go +++ b/unix/ztypes_darwin_arm.go @@ -1,6 +1,7 @@ // cgo -godefs types_darwin.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm && darwin // +build arm,darwin package unix diff --git a/unix/ztypes_darwin_arm64.go b/unix/ztypes_darwin_arm64.go index ec5b5592..dcb51f84 100644 --- a/unix/ztypes_darwin_arm64.go +++ b/unix/ztypes_darwin_arm64.go @@ -1,6 +1,7 @@ // cgo -godefs types_darwin.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm64 && darwin // +build arm64,darwin package unix diff --git a/unix/ztypes_dragonfly_amd64.go b/unix/ztypes_dragonfly_amd64.go index 85506a05..1d049d7a 100644 --- a/unix/ztypes_dragonfly_amd64.go +++ b/unix/ztypes_dragonfly_amd64.go @@ -1,6 +1,7 @@ // cgo -godefs types_dragonfly.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build amd64 && dragonfly // +build amd64,dragonfly package unix diff --git a/unix/ztypes_freebsd_386.go b/unix/ztypes_freebsd_386.go index 3e9dad33..a70d2e23 100644 --- a/unix/ztypes_freebsd_386.go +++ b/unix/ztypes_freebsd_386.go @@ -1,6 +1,7 @@ // cgo -godefs types_freebsd.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build 386 && freebsd // +build 386,freebsd package unix diff --git a/unix/ztypes_freebsd_amd64.go b/unix/ztypes_freebsd_amd64.go index e00e6155..00ce9297 100644 --- a/unix/ztypes_freebsd_amd64.go +++ b/unix/ztypes_freebsd_amd64.go @@ -1,6 +1,7 @@ // cgo -godefs types_freebsd.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build amd64 && freebsd // +build amd64,freebsd package unix diff --git a/unix/ztypes_freebsd_arm.go b/unix/ztypes_freebsd_arm.go index 5da13c87..28694e52 100644 --- a/unix/ztypes_freebsd_arm.go +++ b/unix/ztypes_freebsd_arm.go @@ -1,6 +1,7 @@ // cgo -godefs -- -fsigned-char types_freebsd.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm && freebsd // +build arm,freebsd package unix diff --git a/unix/ztypes_freebsd_arm64.go b/unix/ztypes_freebsd_arm64.go index 995ecf9d..cb749940 100644 --- a/unix/ztypes_freebsd_arm64.go +++ b/unix/ztypes_freebsd_arm64.go @@ -1,6 +1,7 @@ // cgo -godefs -- -fsigned-char types_freebsd.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm64 && freebsd // +build arm64,freebsd package unix diff --git a/unix/ztypes_linux.go b/unix/ztypes_linux.go index ddd65576..d12ad285 100644 --- a/unix/ztypes_linux.go +++ b/unix/ztypes_linux.go @@ -1,5 +1,6 @@ // Code generated by mkmerge.go; DO NOT EDIT. +//go:build linux // +build linux package unix diff --git a/unix/ztypes_linux_386.go b/unix/ztypes_linux_386.go index 088bd77e..4d4d283d 100644 --- a/unix/ztypes_linux_386.go +++ b/unix/ztypes_linux_386.go @@ -1,6 +1,7 @@ // cgo -godefs -- -Wall -Werror -static -I/tmp/include -m32 /build/linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build 386 && linux // +build 386,linux package unix diff --git a/unix/ztypes_linux_amd64.go b/unix/ztypes_linux_amd64.go index 078d958e..8a2eed5e 100644 --- a/unix/ztypes_linux_amd64.go +++ b/unix/ztypes_linux_amd64.go @@ -1,6 +1,7 @@ // cgo -godefs -- -Wall -Werror -static -I/tmp/include -m64 /build/linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build amd64 && linux // +build amd64,linux package unix diff --git a/unix/ztypes_linux_arm.go b/unix/ztypes_linux_arm.go index 2d39122f..94b34add 100644 --- a/unix/ztypes_linux_arm.go +++ b/unix/ztypes_linux_arm.go @@ -1,6 +1,7 @@ // cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm && linux // +build arm,linux package unix diff --git a/unix/ztypes_linux_arm64.go b/unix/ztypes_linux_arm64.go index 304cbd04..2143de4d 100644 --- a/unix/ztypes_linux_arm64.go +++ b/unix/ztypes_linux_arm64.go @@ -1,6 +1,7 @@ // cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char /build/linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm64 && linux // +build arm64,linux package unix diff --git a/unix/ztypes_linux_mips.go b/unix/ztypes_linux_mips.go index 7d9d5700..a40216ee 100644 --- a/unix/ztypes_linux_mips.go +++ b/unix/ztypes_linux_mips.go @@ -1,6 +1,7 @@ // cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build mips && linux // +build mips,linux package unix diff --git a/unix/ztypes_linux_mips64.go b/unix/ztypes_linux_mips64.go index a1eb2577..e834b069 100644 --- a/unix/ztypes_linux_mips64.go +++ b/unix/ztypes_linux_mips64.go @@ -1,6 +1,7 @@ // cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build mips64 && linux // +build mips64,linux package unix diff --git a/unix/ztypes_linux_mips64le.go b/unix/ztypes_linux_mips64le.go index 2e5ce3b6..e31083b0 100644 --- a/unix/ztypes_linux_mips64le.go +++ b/unix/ztypes_linux_mips64le.go @@ -1,6 +1,7 @@ // cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build mips64le && linux // +build mips64le,linux package unix diff --git a/unix/ztypes_linux_mipsle.go b/unix/ztypes_linux_mipsle.go index bbaa1200..42811f7f 100644 --- a/unix/ztypes_linux_mipsle.go +++ b/unix/ztypes_linux_mipsle.go @@ -1,6 +1,7 @@ // cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build mipsle && linux // +build mipsle,linux package unix diff --git a/unix/ztypes_linux_ppc64.go b/unix/ztypes_linux_ppc64.go index 0e6e8a77..2a3afbae 100644 --- a/unix/ztypes_linux_ppc64.go +++ b/unix/ztypes_linux_ppc64.go @@ -1,6 +1,7 @@ // cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build ppc64 && linux // +build ppc64,linux package unix diff --git a/unix/ztypes_linux_ppc64le.go b/unix/ztypes_linux_ppc64le.go index 7382f385..c0de30a6 100644 --- a/unix/ztypes_linux_ppc64le.go +++ b/unix/ztypes_linux_ppc64le.go @@ -1,6 +1,7 @@ // cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build ppc64le && linux // +build ppc64le,linux package unix diff --git a/unix/ztypes_linux_riscv64.go b/unix/ztypes_linux_riscv64.go index 28d55221..74faf2e9 100644 --- a/unix/ztypes_linux_riscv64.go +++ b/unix/ztypes_linux_riscv64.go @@ -1,6 +1,7 @@ // cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build riscv64 && linux // +build riscv64,linux package unix diff --git a/unix/ztypes_linux_s390x.go b/unix/ztypes_linux_s390x.go index a91a7a44..9a8f0c2c 100644 --- a/unix/ztypes_linux_s390x.go +++ b/unix/ztypes_linux_s390x.go @@ -1,6 +1,7 @@ // cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char /build/linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build s390x && linux // +build s390x,linux package unix diff --git a/unix/ztypes_linux_sparc64.go b/unix/ztypes_linux_sparc64.go index f824b235..72cdda75 100644 --- a/unix/ztypes_linux_sparc64.go +++ b/unix/ztypes_linux_sparc64.go @@ -1,6 +1,7 @@ // cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build sparc64 && linux // +build sparc64,linux package unix diff --git a/unix/ztypes_netbsd_386.go b/unix/ztypes_netbsd_386.go index 3f11f88e..b10e73ab 100644 --- a/unix/ztypes_netbsd_386.go +++ b/unix/ztypes_netbsd_386.go @@ -1,6 +1,7 @@ // cgo -godefs types_netbsd.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build 386 && netbsd // +build 386,netbsd package unix diff --git a/unix/ztypes_netbsd_amd64.go b/unix/ztypes_netbsd_amd64.go index 0bed83af..28ed6d55 100644 --- a/unix/ztypes_netbsd_amd64.go +++ b/unix/ztypes_netbsd_amd64.go @@ -1,6 +1,7 @@ // cgo -godefs types_netbsd.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build amd64 && netbsd // +build amd64,netbsd package unix diff --git a/unix/ztypes_netbsd_arm.go b/unix/ztypes_netbsd_arm.go index e4e3bf73..4ba196eb 100644 --- a/unix/ztypes_netbsd_arm.go +++ b/unix/ztypes_netbsd_arm.go @@ -1,6 +1,7 @@ // cgo -godefs types_netbsd.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm && netbsd // +build arm,netbsd package unix diff --git a/unix/ztypes_netbsd_arm64.go b/unix/ztypes_netbsd_arm64.go index efac861b..dd642bd9 100644 --- a/unix/ztypes_netbsd_arm64.go +++ b/unix/ztypes_netbsd_arm64.go @@ -1,6 +1,7 @@ // cgo -godefs types_netbsd.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm64 && netbsd // +build arm64,netbsd package unix diff --git a/unix/ztypes_openbsd_386.go b/unix/ztypes_openbsd_386.go index 80fa295f..1fdb0e5f 100644 --- a/unix/ztypes_openbsd_386.go +++ b/unix/ztypes_openbsd_386.go @@ -1,6 +1,7 @@ // cgo -godefs types_openbsd.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build 386 && openbsd // +build 386,openbsd package unix diff --git a/unix/ztypes_openbsd_amd64.go b/unix/ztypes_openbsd_amd64.go index 560dd6d0..e2fc93c7 100644 --- a/unix/ztypes_openbsd_amd64.go +++ b/unix/ztypes_openbsd_amd64.go @@ -1,6 +1,7 @@ // cgo -godefs types_openbsd.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build amd64 && openbsd // +build amd64,openbsd package unix diff --git a/unix/ztypes_openbsd_arm.go b/unix/ztypes_openbsd_arm.go index 0c1700fa..8d34b5a2 100644 --- a/unix/ztypes_openbsd_arm.go +++ b/unix/ztypes_openbsd_arm.go @@ -1,6 +1,7 @@ // cgo -godefs -- -fsigned-char types_openbsd.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm && openbsd // +build arm,openbsd package unix diff --git a/unix/ztypes_openbsd_arm64.go b/unix/ztypes_openbsd_arm64.go index 5b3e4663..ea8f1a0d 100644 --- a/unix/ztypes_openbsd_arm64.go +++ b/unix/ztypes_openbsd_arm64.go @@ -1,6 +1,7 @@ // cgo -godefs -- -fsigned-char types_openbsd.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build arm64 && openbsd // +build arm64,openbsd package unix diff --git a/unix/ztypes_openbsd_mips64.go b/unix/ztypes_openbsd_mips64.go index 62bff167..ec6e8bc3 100644 --- a/unix/ztypes_openbsd_mips64.go +++ b/unix/ztypes_openbsd_mips64.go @@ -1,6 +1,7 @@ // cgo -godefs -- -fsigned-char types_openbsd.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build mips64 && openbsd // +build mips64,openbsd package unix diff --git a/unix/ztypes_solaris_amd64.go b/unix/ztypes_solaris_amd64.go index ca512aff..85effef9 100644 --- a/unix/ztypes_solaris_amd64.go +++ b/unix/ztypes_solaris_amd64.go @@ -1,6 +1,7 @@ // cgo -godefs types_solaris.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build amd64 && solaris // +build amd64,solaris package unix