]> Cypherpunks.ru repositories - gostls13.git/commitdiff
all: go fmt std cmd (but revert vendor)
authorRuss Cox <rsc@golang.org>
Fri, 19 Feb 2021 23:35:10 +0000 (18:35 -0500)
committerRuss Cox <rsc@golang.org>
Sat, 20 Feb 2021 03:54:50 +0000 (03:54 +0000)
Make all our package sources use Go 1.17 gofmt format
(adding //go:build lines).

Part of //go:build change (#41184).
See https://golang.org/design/draft-gobuild

Change-Id: Ia0534360e4957e58cd9a18429c39d0e32a6addb4
Reviewed-on: https://go-review.googlesource.com/c/go/+/294430
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
826 files changed:
src/archive/tar/stat_actime1.go
src/archive/tar/stat_actime2.go
src/archive/tar/stat_unix.go
src/bytes/boundary_test.go
src/cmd/api/run.go
src/cmd/compile/internal/gc/bootstrap.go
src/cmd/compile/internal/gc/pprof.go
src/cmd/compile/internal/gc/trace.go
src/cmd/compile/internal/ir/mknode.go
src/cmd/compile/internal/logopt/escape.go
src/cmd/compile/internal/logopt/escape_bootstrap.go
src/cmd/compile/internal/ssa/flags_test.go
src/cmd/compile/internal/typecheck/mapfile_mmap.go
src/cmd/compile/internal/typecheck/mapfile_read.go
src/cmd/compile/internal/typecheck/mkbuiltin.go
src/cmd/compile/internal/types2/example_test.go
src/cmd/dist/sys_default.go
src/cmd/dist/test_linux.go
src/cmd/dist/util_gc.go
src/cmd/dist/util_gccgo.go
src/cmd/go/go11.go
src/cmd/go/go_unix_test.go
src/cmd/go/internal/base/signal_notunix.go
src/cmd/go/internal/base/signal_unix.go
src/cmd/go/internal/lockedfile/internal/filelock/filelock_fcntl.go
src/cmd/go/internal/lockedfile/internal/filelock/filelock_other.go
src/cmd/go/internal/lockedfile/internal/filelock/filelock_plan9.go
src/cmd/go/internal/lockedfile/internal/filelock/filelock_test.go
src/cmd/go/internal/lockedfile/internal/filelock/filelock_unix.go
src/cmd/go/internal/lockedfile/internal/filelock/filelock_windows.go
src/cmd/go/internal/lockedfile/lockedfile_filelock.go
src/cmd/go/internal/lockedfile/lockedfile_plan9.go
src/cmd/go/internal/lockedfile/lockedfile_test.go
src/cmd/go/internal/lockedfile/transform_test.go
src/cmd/go/internal/modfetch/bootstrap.go
src/cmd/go/internal/modfetch/codehost/shell.go
src/cmd/go/internal/modfetch/sumdb.go
src/cmd/go/internal/modload/stat_openfile.go
src/cmd/go/internal/modload/stat_unix.go
src/cmd/go/internal/modload/stat_windows.go
src/cmd/go/internal/renameio/renameio_test.go
src/cmd/go/internal/renameio/umask_test.go
src/cmd/go/internal/robustio/robustio_flaky.go
src/cmd/go/internal/robustio/robustio_other.go
src/cmd/go/internal/test/genflags.go
src/cmd/go/internal/web/bootstrap.go
src/cmd/go/internal/web/http.go
src/cmd/go/internal/web/url_other.go
src/cmd/go/internal/web/url_other_test.go
src/cmd/go/internal/work/testgo.go
src/cmd/internal/bio/buf_mmap.go
src/cmd/internal/bio/buf_nommap.go
src/cmd/internal/goobj/mkbuiltin.go
src/cmd/internal/obj/stringer.go
src/cmd/link/elf_test.go
src/cmd/link/internal/ld/elf_test.go
src/cmd/link/internal/ld/execarchive.go
src/cmd/link/internal/ld/execarchive_noexec.go
src/cmd/link/internal/ld/fallocate_test.go
src/cmd/link/internal/ld/outbuf_mmap.go
src/cmd/link/internal/ld/outbuf_nofallocate.go
src/cmd/link/internal/ld/outbuf_nommap.go
src/cmd/link/internal/ld/outbuf_notdarwin.go
src/cmd/nm/nm_cgo_test.go
src/cmd/pprof/readlineui.go
src/cmd/trace/annotations_test.go
src/cmd/trace/trace_test.go
src/cmd/trace/trace_unix_test.go
src/crypto/aes/aes_gcm.go
src/crypto/aes/cipher_asm.go
src/crypto/aes/cipher_generic.go
src/crypto/aes/gcm_ppc64le.go
src/crypto/cipher/xor_generic.go
src/crypto/cipher/xor_ppc64x.go
src/crypto/ecdsa/ecdsa_noasm.go
src/crypto/ecdsa/ecdsa_s390x_test.go
src/crypto/elliptic/fuzz_test.go
src/crypto/elliptic/p256.go
src/crypto/elliptic/p256_asm.go
src/crypto/elliptic/p256_generic.go
src/crypto/elliptic/p256_ppc64le.go
src/crypto/elliptic/p256_s390x.go
src/crypto/internal/subtle/aliasing.go
src/crypto/internal/subtle/aliasing_appengine.go
src/crypto/md5/gen.go
src/crypto/md5/md5block_decl.go
src/crypto/md5/md5block_generic.go
src/crypto/rand/eagain.go
src/crypto/rand/rand_batched.go
src/crypto/rand/rand_batched_test.go
src/crypto/rand/rand_js.go
src/crypto/rand/rand_unix.go
src/crypto/sha1/fallback_test.go
src/crypto/sha1/issue15617_test.go
src/crypto/sha1/sha1block_decl.go
src/crypto/sha1/sha1block_generic.go
src/crypto/sha256/fallback_test.go
src/crypto/sha256/sha256block_decl.go
src/crypto/sha256/sha256block_generic.go
src/crypto/sha512/fallback_test.go
src/crypto/sha512/sha512block_amd64.go
src/crypto/sha512/sha512block_decl.go
src/crypto/sha512/sha512block_generic.go
src/crypto/tls/generate_cert.go
src/crypto/tls/handshake_unix_test.go
src/crypto/x509/internal/macos/corefoundation.go
src/crypto/x509/internal/macos/security.go
src/crypto/x509/root_bsd.go
src/crypto/x509/root_darwin.go
src/crypto/x509/root_ios.go
src/crypto/x509/root_ios_gen.go
src/crypto/x509/root_js.go
src/crypto/x509/root_omit.go
src/crypto/x509/root_omit_test.go
src/crypto/x509/root_plan9.go
src/crypto/x509/root_unix.go
src/crypto/x509/root_unix_test.go
src/crypto/x509/x509_test_import.go
src/debug/pe/file_cgo_test.go
src/encoding/csv/fuzz.go
src/encoding/gob/debug.go
src/encoding/gob/decgen.go
src/encoding/gob/dump.go
src/encoding/gob/encgen.go
src/encoding/json/fuzz.go
src/go/build/gc.go
src/go/build/gccgo.go
src/go/doc/headscan.go
src/go/types/example_test.go
src/go/types/gotype.go
src/hash/crc32/crc32_otherarch.go
src/hash/crc32/gen_const_ppc64le.go
src/html/fuzz.go
src/image/color/palette/gen.go
src/image/internal/imageutil/gen.go
src/image/png/fuzz.go
src/index/suffixarray/gen.go
src/internal/abi/abi_amd64.go
src/internal/abi/abi_generic.go
src/internal/bytealg/compare_generic.go
src/internal/bytealg/compare_native.go
src/internal/bytealg/count_generic.go
src/internal/bytealg/count_native.go
src/internal/bytealg/index_generic.go
src/internal/bytealg/index_native.go
src/internal/bytealg/indexbyte_generic.go
src/internal/bytealg/indexbyte_native.go
src/internal/cpu/cpu_arm64_android.go
src/internal/cpu/cpu_arm64_darwin.go
src/internal/cpu/cpu_arm64_freebsd.go
src/internal/cpu/cpu_arm64_hwcap.go
src/internal/cpu/cpu_arm64_linux.go
src/internal/cpu/cpu_arm64_other.go
src/internal/cpu/cpu_mips64x.go
src/internal/cpu/cpu_no_name.go
src/internal/cpu/cpu_ppc64x.go
src/internal/cpu/cpu_ppc64x_aix.go
src/internal/cpu/cpu_ppc64x_linux.go
src/internal/cpu/cpu_x86.go
src/internal/cpu/cpu_x86_test.go
src/internal/goroot/gc.go
src/internal/goroot/gccgo.go
src/internal/poll/errno_unix.go
src/internal/poll/errno_windows.go
src/internal/poll/error_stub_test.go
src/internal/poll/export_posix_test.go
src/internal/poll/fcntl_js.go
src/internal/poll/fcntl_libc.go
src/internal/poll/fcntl_syscall.go
src/internal/poll/fd_fsync_posix.go
src/internal/poll/fd_poll_js.go
src/internal/poll/fd_poll_runtime.go
src/internal/poll/fd_posix.go
src/internal/poll/fd_posix_test.go
src/internal/poll/fd_unix.go
src/internal/poll/fd_writev_darwin.go
src/internal/poll/fd_writev_illumos.go
src/internal/poll/fd_writev_unix.go
src/internal/poll/hook_cloexec.go
src/internal/poll/hook_unix.go
src/internal/poll/iovec_illumos.go
src/internal/poll/iovec_unix.go
src/internal/poll/sendfile_bsd.go
src/internal/poll/sock_cloexec.go
src/internal/poll/sockopt.go
src/internal/poll/sockopt_unix.go
src/internal/poll/sockoptip.go
src/internal/poll/strconv.go
src/internal/poll/sys_cloexec.go
src/internal/poll/writev.go
src/internal/race/norace.go
src/internal/race/race.go
src/internal/syscall/execenv/execenv_default.go
src/internal/syscall/execenv/execenv_windows.go
src/internal/syscall/unix/at.go
src/internal/syscall/unix/at_libc.go
src/internal/syscall/unix/at_sysnum_fstatat64_linux.go
src/internal/syscall/unix/at_sysnum_fstatat_linux.go
src/internal/syscall/unix/at_sysnum_newfstatat_linux.go
src/internal/syscall/unix/fcntl_linux_32bit.go
src/internal/syscall/unix/nonblocking.go
src/internal/syscall/unix/nonblocking_js.go
src/internal/syscall/unix/nonblocking_libc.go
src/internal/syscall/unix/pipe2_illumos.go
src/internal/syscall/unix/sysnum_linux_generic.go
src/internal/syscall/unix/sysnum_linux_mips64x.go
src/internal/syscall/unix/sysnum_linux_mipsx.go
src/internal/syscall/unix/sysnum_linux_ppc64x.go
src/internal/syscall/unix/writev_illumos.go
src/internal/testenv/testenv_cgo.go
src/internal/testenv/testenv_notwin.go
src/log/syslog/example_test.go
src/log/syslog/syslog.go
src/log/syslog/syslog_test.go
src/log/syslog/syslog_unix.go
src/math/big/arith_amd64.go
src/math/big/arith_decl.go
src/math/big/arith_decl_pure.go
src/math/big/arith_decl_s390x.go
src/math/big/arith_s390x_test.go
src/math/bits/bits_errors.go
src/math/bits/bits_errors_bootstrap.go
src/math/bits/make_examples.go
src/math/bits/make_tables.go
src/math/cmplx/huge_test.go
src/math/exp_asm.go
src/math/huge_test.go
src/math/rand/gen_cooked.go
src/mime/type_unix.go
src/net/addrselect.go
src/net/addrselect_test.go
src/net/cgo_aix.go
src/net/cgo_android.go
src/net/cgo_bsd.go
src/net/cgo_linux.go
src/net/cgo_netbsd.go
src/net/cgo_openbsd.go
src/net/cgo_resnew.go
src/net/cgo_resold.go
src/net/cgo_socknew.go
src/net/cgo_sockold.go
src/net/cgo_solaris.go
src/net/cgo_stub.go
src/net/cgo_unix.go
src/net/cgo_unix_test.go
src/net/cgo_windows.go
src/net/conf.go
src/net/conf_netcgo.go
src/net/conf_test.go
src/net/conn_test.go
src/net/dial_test.go
src/net/dial_unix_test.go
src/net/dnsclient_unix.go
src/net/dnsclient_unix_test.go
src/net/dnsconfig_unix.go
src/net/dnsconfig_unix_test.go
src/net/dnsname_test.go
src/net/error_posix.go
src/net/error_posix_test.go
src/net/error_test.go
src/net/error_unix.go
src/net/error_unix_test.go
src/net/external_test.go
src/net/fd_posix.go
src/net/fd_unix.go
src/net/file_stub.go
src/net/file_test.go
src/net/file_unix.go
src/net/hook_unix.go
src/net/http/cgi/plan9_test.go
src/net/http/cgi/posix_test.go
src/net/http/h2_bundle.go
src/net/http/omithttp2.go
src/net/http/roundtrip.go
src/net/http/roundtrip_js.go
src/net/http/triv.go
src/net/interface_bsd.go
src/net/interface_bsd_test.go
src/net/interface_bsdvar.go
src/net/interface_stub.go
src/net/interface_test.go
src/net/interface_unix_test.go
src/net/internal/socktest/main_test.go
src/net/internal/socktest/main_unix_test.go
src/net/internal/socktest/switch_posix.go
src/net/internal/socktest/switch_stub.go
src/net/internal/socktest/switch_unix.go
src/net/internal/socktest/sys_cloexec.go
src/net/internal/socktest/sys_unix.go
src/net/ip_test.go
src/net/iprawsock_posix.go
src/net/iprawsock_test.go
src/net/ipsock_posix.go
src/net/listen_test.go
src/net/lookup_fake.go
src/net/lookup_test.go
src/net/lookup_unix.go
src/net/main_cloexec_test.go
src/net/main_conf_test.go
src/net/main_noconf_test.go
src/net/main_posix_test.go
src/net/main_test.go
src/net/main_unix_test.go
src/net/mockserver_test.go
src/net/net_fake.go
src/net/net_test.go
src/net/netgo_unix_test.go
src/net/nss.go
src/net/nss_test.go
src/net/packetconn_test.go
src/net/port_unix.go
src/net/protoconn_test.go
src/net/rawconn_stub_test.go
src/net/rawconn_test.go
src/net/rawconn_unix_test.go
src/net/sendfile_stub.go
src/net/sendfile_test.go
src/net/sendfile_unix_alt.go
src/net/server_test.go
src/net/sock_bsd.go
src/net/sock_cloexec.go
src/net/sock_posix.go
src/net/sock_stub.go
src/net/sockaddr_posix.go
src/net/sockopt_bsd.go
src/net/sockopt_posix.go
src/net/sockopt_stub.go
src/net/sockoptip_bsdvar.go
src/net/sockoptip_posix.go
src/net/sockoptip_stub.go
src/net/splice_stub.go
src/net/splice_test.go
src/net/sys_cloexec.go
src/net/tcpsock_posix.go
src/net/tcpsock_test.go
src/net/tcpsock_unix_test.go
src/net/tcpsockopt_posix.go
src/net/tcpsockopt_stub.go
src/net/tcpsockopt_unix.go
src/net/timeout_test.go
src/net/udpsock_posix.go
src/net/udpsock_test.go
src/net/unixsock_posix.go
src/net/unixsock_test.go
src/net/unixsock_windows_test.go
src/net/write_unix_test.go
src/net/writev_test.go
src/net/writev_unix.go
src/os/dir_unix.go
src/os/endian_big.go
src/os/endian_little.go
src/os/env_unix_test.go
src/os/error_errno.go
src/os/error_posix.go
src/os/error_unix_test.go
src/os/error_windows_test.go
src/os/exec/exec_linux_test.go
src/os/exec/exec_posix_test.go
src/os/exec/exec_unix.go
src/os/exec/lp_js.go
src/os/exec/lp_unix.go
src/os/exec/lp_unix_test.go
src/os/exec/read3.go
src/os/exec_posix.go
src/os/exec_unix.go
src/os/exec_unix_test.go
src/os/executable_path.go
src/os/executable_plan9.go
src/os/executable_procfs.go
src/os/executable_sysctl.go
src/os/export_unix_test.go
src/os/fifo_test.go
src/os/file_posix.go
src/os/file_unix.go
src/os/os_unix_test.go
src/os/path_unix.go
src/os/pipe2_bsd.go
src/os/pipe2_illumos.go
src/os/pipe_bsd.go
src/os/pipe_test.go
src/os/rawconn.go
src/os/rawconn_test.go
src/os/readfrom_stub.go
src/os/removeall_at.go
src/os/removeall_noat.go
src/os/signal/example_unix_test.go
src/os/signal/internal/pty/pty.go
src/os/signal/signal_cgo_test.go
src/os/signal/signal_linux_test.go
src/os/signal/signal_test.go
src/os/signal/signal_unix.go
src/os/stat_js.go
src/os/stat_unix.go
src/os/sticky_bsd.go
src/os/sticky_notbsd.go
src/os/sys_bsd.go
src/os/sys_js.go
src/os/sys_unix.go
src/os/timeout_test.go
src/os/types_unix.go
src/os/user/cgo_lookup_unix.go
src/os/user/cgo_unix_test.go
src/os/user/getgrouplist_darwin.go
src/os/user/getgrouplist_unix.go
src/os/user/listgroups_aix.go
src/os/user/listgroups_solaris.go
src/os/user/listgroups_unix.go
src/os/user/lookup_android.go
src/os/user/lookup_stubs.go
src/os/user/lookup_unix.go
src/os/user/lookup_unix_test.go
src/os/wait_unimp.go
src/os/wait_wait6.go
src/os/wait_waitid.go
src/path/filepath/example_unix_test.go
src/path/filepath/example_unix_walk_test.go
src/path/filepath/path_unix.go
src/path/filepath/symlink_unix.go
src/plugin/plugin_dlopen.go
src/plugin/plugin_stubs.go
src/plugin/plugin_test.go
src/regexp/exec2_test.go
src/runtime/auxv_none.go
src/runtime/cgo/callbacks_traceback.go
src/runtime/cgo/dragonfly.go
src/runtime/cgo/freebsd.go
src/runtime/cgo/linux.go
src/runtime/cgo/mmap.go
src/runtime/cgo/netbsd.go
src/runtime/cgo/openbsd.go
src/runtime/cgo/setenv.go
src/runtime/cgo/sigaction.go
src/runtime/cgo_mmap.go
src/runtime/cgo_ppc64x.go
src/runtime/cgo_sigaction.go
src/runtime/cputicks.go
src/runtime/crash_cgo_test.go
src/runtime/crash_nonunix_test.go
src/runtime/crash_unix_test.go
src/runtime/debug/panic_test.go
src/runtime/debug_test.go
src/runtime/debugcall.go
src/runtime/debuglog_off.go
src/runtime/debuglog_on.go
src/runtime/defs1_linux.go
src/runtime/defs2_linux.go
src/runtime/defs3_linux.go
src/runtime/defs_aix.go
src/runtime/defs_aix_ppc64.go
src/runtime/defs_arm_linux.go
src/runtime/defs_darwin.go
src/runtime/defs_dragonfly.go
src/runtime/defs_freebsd.go
src/runtime/defs_linux.go
src/runtime/defs_linux_mips64x.go
src/runtime/defs_linux_mipsx.go
src/runtime/defs_netbsd.go
src/runtime/defs_netbsd_386.go
src/runtime/defs_netbsd_amd64.go
src/runtime/defs_netbsd_arm.go
src/runtime/defs_openbsd.go
src/runtime/defs_solaris.go
src/runtime/defs_solaris_amd64.go
src/runtime/env_posix.go
src/runtime/export_debug_test.go
src/runtime/export_futex_test.go
src/runtime/export_mmap_test.go
src/runtime/export_pipe2_test.go
src/runtime/export_pipe_test.go
src/runtime/export_unix_test.go
src/runtime/futex_test.go
src/runtime/hash32.go
src/runtime/hash64.go
src/runtime/internal/atomic/atomic_386.go
src/runtime/internal/atomic/atomic_arm.go
src/runtime/internal/atomic/atomic_arm64.go
src/runtime/internal/atomic/atomic_mips64x.go
src/runtime/internal/atomic/atomic_mipsx.go
src/runtime/internal/atomic/atomic_ppc64x.go
src/runtime/internal/atomic/stubs.go
src/runtime/internal/sys/gengoos.go
src/runtime/internal/sys/intrinsics.go
src/runtime/internal/sys/intrinsics_stubs.go
src/runtime/internal/sys/zgoarch_386.go
src/runtime/internal/sys/zgoarch_amd64.go
src/runtime/internal/sys/zgoarch_arm.go
src/runtime/internal/sys/zgoarch_arm64.go
src/runtime/internal/sys/zgoarch_arm64be.go
src/runtime/internal/sys/zgoarch_armbe.go
src/runtime/internal/sys/zgoarch_mips.go
src/runtime/internal/sys/zgoarch_mips64.go
src/runtime/internal/sys/zgoarch_mips64le.go
src/runtime/internal/sys/zgoarch_mips64p32.go
src/runtime/internal/sys/zgoarch_mips64p32le.go
src/runtime/internal/sys/zgoarch_mipsle.go
src/runtime/internal/sys/zgoarch_ppc.go
src/runtime/internal/sys/zgoarch_ppc64.go
src/runtime/internal/sys/zgoarch_ppc64le.go
src/runtime/internal/sys/zgoarch_riscv.go
src/runtime/internal/sys/zgoarch_riscv64.go
src/runtime/internal/sys/zgoarch_s390.go
src/runtime/internal/sys/zgoarch_s390x.go
src/runtime/internal/sys/zgoarch_sparc.go
src/runtime/internal/sys/zgoarch_sparc64.go
src/runtime/internal/sys/zgoarch_wasm.go
src/runtime/internal/sys/zgoos_aix.go
src/runtime/internal/sys/zgoos_android.go
src/runtime/internal/sys/zgoos_darwin.go
src/runtime/internal/sys/zgoos_dragonfly.go
src/runtime/internal/sys/zgoos_freebsd.go
src/runtime/internal/sys/zgoos_hurd.go
src/runtime/internal/sys/zgoos_illumos.go
src/runtime/internal/sys/zgoos_ios.go
src/runtime/internal/sys/zgoos_js.go
src/runtime/internal/sys/zgoos_linux.go
src/runtime/internal/sys/zgoos_netbsd.go
src/runtime/internal/sys/zgoos_openbsd.go
src/runtime/internal/sys/zgoos_plan9.go
src/runtime/internal/sys/zgoos_solaris.go
src/runtime/internal/sys/zgoos_windows.go
src/runtime/internal/sys/zgoos_zos.go
src/runtime/lfstack_32bit.go
src/runtime/lfstack_64bit.go
src/runtime/libfuzzer.go
src/runtime/lock_futex.go
src/runtime/lock_js.go
src/runtime/lock_sema.go
src/runtime/lockrank_off.go
src/runtime/lockrank_on.go
src/runtime/mem_bsd.go
src/runtime/mem_js.go
src/runtime/mkduff.go
src/runtime/mkfastlog2table.go
src/runtime/mkpreempt.go
src/runtime/mksizeclasses.go
src/runtime/mmap.go
src/runtime/mpagealloc_32bit.go
src/runtime/mpagealloc_64bit.go
src/runtime/msan.go
src/runtime/msan0.go
src/runtime/nbpipe_fcntl_libc_test.go
src/runtime/nbpipe_fcntl_unix_test.go
src/runtime/nbpipe_pipe.go
src/runtime/nbpipe_pipe2.go
src/runtime/nbpipe_test.go
src/runtime/netpoll.go
src/runtime/netpoll_epoll.go
src/runtime/netpoll_fake.go
src/runtime/netpoll_kqueue.go
src/runtime/netpoll_stub.go
src/runtime/norace_linux_test.go
src/runtime/norace_test.go
src/runtime/os_aix.go
src/runtime/os_freebsd2.go
src/runtime/os_freebsd_noauxv.go
src/runtime/os_js.go
src/runtime/os_linux_arm64.go
src/runtime/os_linux_be64.go
src/runtime/os_linux_generic.go
src/runtime/os_linux_mips64x.go
src/runtime/os_linux_mipsx.go
src/runtime/os_linux_noauxv.go
src/runtime/os_linux_novdso.go
src/runtime/os_linux_ppc64x.go
src/runtime/os_linux_x86.go
src/runtime/os_nonopenbsd.go
src/runtime/os_only_solaris.go
src/runtime/os_openbsd_libc.go
src/runtime/os_openbsd_syscall.go
src/runtime/os_openbsd_syscall1.go
src/runtime/os_openbsd_syscall2.go
src/runtime/panic32.go
src/runtime/pprof/mprof_test.go
src/runtime/pprof/pprof_norusage.go
src/runtime/pprof/pprof_rusage.go
src/runtime/pprof/pprof_test.go
src/runtime/preempt_nonwindows.go
src/runtime/race.go
src/runtime/race/output_test.go
src/runtime/race/race.go
src/runtime/race/race_linux_test.go
src/runtime/race/race_test.go
src/runtime/race/race_unix_test.go
src/runtime/race/race_windows_test.go
src/runtime/race/sched_test.go
src/runtime/race/syso_test.go
src/runtime/race/timer_test.go
src/runtime/race0.go
src/runtime/relax_stub.go
src/runtime/runtime_mmap_test.go
src/runtime/runtime_unix_test.go
src/runtime/semasleep_test.go
src/runtime/sigaction.go
src/runtime/signal_386.go
src/runtime/signal_aix_ppc64.go
src/runtime/signal_amd64.go
src/runtime/signal_arm.go
src/runtime/signal_arm64.go
src/runtime/signal_linux_mips64x.go
src/runtime/signal_linux_mipsx.go
src/runtime/signal_linux_ppc64x.go
src/runtime/signal_mips64x.go
src/runtime/signal_mipsx.go
src/runtime/signal_ppc64x.go
src/runtime/signal_riscv64.go
src/runtime/signal_unix.go
src/runtime/signal_windows_test.go
src/runtime/sigqueue.go
src/runtime/sigqueue_note.go
src/runtime/sigtab_linux_generic.go
src/runtime/sigtab_linux_mipsx.go
src/runtime/stubs2.go
src/runtime/stubs3.go
src/runtime/stubs_linux.go
src/runtime/stubs_mips64x.go
src/runtime/stubs_mipsx.go
src/runtime/stubs_nonlinux.go
src/runtime/stubs_ppc64x.go
src/runtime/sys_libc.go
src/runtime/sys_mips64x.go
src/runtime/sys_mipsx.go
src/runtime/sys_nonppc64x.go
src/runtime/sys_openbsd.go
src/runtime/sys_openbsd1.go
src/runtime/sys_openbsd2.go
src/runtime/sys_openbsd3.go
src/runtime/sys_ppc64x.go
src/runtime/sys_x86.go
src/runtime/time_fake.go
src/runtime/time_nofake.go
src/runtime/timeasm.go
src/runtime/timestub.go
src/runtime/timestub2.go
src/runtime/vdso_elf32.go
src/runtime/vdso_elf64.go
src/runtime/vdso_freebsd.go
src/runtime/vdso_freebsd_x86.go
src/runtime/vdso_in_none.go
src/runtime/vdso_linux.go
src/runtime/vdso_linux_mips64x.go
src/runtime/vdso_linux_ppc64x.go
src/runtime/vlrt.go
src/runtime/wincallback.go
src/runtime/write_err.go
src/sort/genzfunc.go
src/sort/slice_go113.go
src/sort/slice_go14.go
src/sort/slice_go18.go
src/strconv/bytealg.go
src/strconv/bytealg_bootstrap.go
src/strconv/makeisprint.go
src/sync/pool_test.go
src/sync/runtime2.go
src/sync/runtime2_lockrank.go
src/syscall/bpf_bsd.go
src/syscall/creds_test.go
src/syscall/dirent.go
src/syscall/dirent_test.go
src/syscall/endian_big.go
src/syscall/endian_little.go
src/syscall/env_unix.go
src/syscall/exec_aix_test.go
src/syscall/exec_bsd.go
src/syscall/exec_libc.go
src/syscall/exec_libc2.go
src/syscall/exec_linux.go
src/syscall/exec_linux_test.go
src/syscall/exec_solaris_test.go
src/syscall/exec_unix.go
src/syscall/exec_unix_test.go
src/syscall/export_unix_test.go
src/syscall/flock.go
src/syscall/flock_linux_32bit.go
src/syscall/forkpipe.go
src/syscall/forkpipe2.go
src/syscall/fs_js.go
src/syscall/getdirentries_test.go
src/syscall/mkasm.go
src/syscall/mkpost.go
src/syscall/mksyscall_windows.go
src/syscall/mmap_unix_test.go
src/syscall/msan.go
src/syscall/msan0.go
src/syscall/net_js.go
src/syscall/ptrace_darwin.go
src/syscall/route_bsd.go
src/syscall/route_freebsd_32bit.go
src/syscall/route_freebsd_64bit.go
src/syscall/setuidgid_32_linux.go
src/syscall/setuidgid_linux.go
src/syscall/sockcmsg_unix.go
src/syscall/sockcmsg_unix_other.go
src/syscall/syscall_bsd.go
src/syscall/syscall_bsd_test.go
src/syscall/syscall_dup2_linux.go
src/syscall/syscall_dup3_linux.go
src/syscall/syscall_freebsd_test.go
src/syscall/syscall_illumos.go
src/syscall/syscall_js.go
src/syscall/syscall_linux_mips64x.go
src/syscall/syscall_linux_mipsx.go
src/syscall/syscall_linux_ppc64x.go
src/syscall/syscall_openbsd1.go
src/syscall/syscall_openbsd_libc.go
src/syscall/syscall_ptrace_test.go
src/syscall/syscall_unix.go
src/syscall/syscall_unix_test.go
src/syscall/tables_js.go
src/syscall/time_fake.go
src/syscall/time_nofake.go
src/syscall/timestruct.go
src/syscall/types_aix.go
src/syscall/types_darwin.go
src/syscall/types_dragonfly.go
src/syscall/types_freebsd.go
src/syscall/types_illumos_amd64.go
src/syscall/types_linux.go
src/syscall/types_netbsd.go
src/syscall/types_openbsd.go
src/syscall/types_solaris.go
src/syscall/zerrors_darwin_amd64.go
src/syscall/zerrors_darwin_arm64.go
src/syscall/zerrors_dragonfly_amd64.go
src/syscall/zerrors_freebsd_386.go
src/syscall/zerrors_freebsd_amd64.go
src/syscall/zerrors_freebsd_arm.go
src/syscall/zerrors_freebsd_arm64.go
src/syscall/zerrors_linux_386.go
src/syscall/zerrors_linux_amd64.go
src/syscall/zerrors_linux_arm.go
src/syscall/zerrors_linux_arm64.go
src/syscall/zerrors_linux_ppc64.go
src/syscall/zerrors_linux_ppc64le.go
src/syscall/zerrors_netbsd_386.go
src/syscall/zerrors_netbsd_amd64.go
src/syscall/zerrors_netbsd_arm.go
src/syscall/zerrors_netbsd_arm64.go
src/syscall/zerrors_openbsd_386.go
src/syscall/zerrors_openbsd_amd64.go
src/syscall/zerrors_openbsd_arm.go
src/syscall/zerrors_solaris_amd64.go
src/syscall/zsyscall_aix_ppc64.go
src/syscall/zsyscall_darwin_amd64.go
src/syscall/zsyscall_darwin_arm64.go
src/syscall/zsyscall_dragonfly_amd64.go
src/syscall/zsyscall_freebsd_386.go
src/syscall/zsyscall_freebsd_amd64.go
src/syscall/zsyscall_freebsd_arm.go
src/syscall/zsyscall_freebsd_arm64.go
src/syscall/zsyscall_linux_386.go
src/syscall/zsyscall_linux_amd64.go
src/syscall/zsyscall_linux_arm.go
src/syscall/zsyscall_linux_arm64.go
src/syscall/zsyscall_linux_mips.go
src/syscall/zsyscall_linux_mips64.go
src/syscall/zsyscall_linux_mips64le.go
src/syscall/zsyscall_linux_mipsle.go
src/syscall/zsyscall_linux_ppc64.go
src/syscall/zsyscall_linux_ppc64le.go
src/syscall/zsyscall_linux_riscv64.go
src/syscall/zsyscall_linux_s390x.go
src/syscall/zsyscall_netbsd_386.go
src/syscall/zsyscall_netbsd_amd64.go
src/syscall/zsyscall_netbsd_arm.go
src/syscall/zsyscall_netbsd_arm64.go
src/syscall/zsyscall_openbsd_386.go
src/syscall/zsyscall_openbsd_amd64.go
src/syscall/zsyscall_openbsd_arm.go
src/syscall/zsyscall_openbsd_arm64.go
src/syscall/zsyscall_openbsd_mips64.go
src/syscall/zsyscall_plan9_386.go
src/syscall/zsyscall_plan9_amd64.go
src/syscall/zsyscall_plan9_arm.go
src/syscall/zsyscall_solaris_amd64.go
src/syscall/zsysnum_darwin_amd64.go
src/syscall/zsysnum_darwin_arm64.go
src/syscall/zsysnum_dragonfly_amd64.go
src/syscall/zsysnum_freebsd_386.go
src/syscall/zsysnum_freebsd_amd64.go
src/syscall/zsysnum_freebsd_arm.go
src/syscall/zsysnum_freebsd_arm64.go
src/syscall/zsysnum_linux_386.go
src/syscall/zsysnum_linux_amd64.go
src/syscall/zsysnum_linux_arm.go
src/syscall/zsysnum_linux_arm64.go
src/syscall/zsysnum_linux_ppc64.go
src/syscall/zsysnum_linux_ppc64le.go
src/syscall/zsysnum_netbsd_386.go
src/syscall/zsysnum_netbsd_amd64.go
src/syscall/zsysnum_netbsd_arm.go
src/syscall/zsysnum_netbsd_arm64.go
src/syscall/zsysnum_openbsd_386.go
src/syscall/zsysnum_openbsd_amd64.go
src/syscall/zsysnum_openbsd_arm.go
src/syscall/zsysnum_solaris_amd64.go
src/syscall/ztypes_darwin_amd64.go
src/syscall/ztypes_darwin_arm64.go
src/syscall/ztypes_dragonfly_amd64.go
src/syscall/ztypes_freebsd_386.go
src/syscall/ztypes_freebsd_amd64.go
src/syscall/ztypes_freebsd_arm.go
src/syscall/ztypes_freebsd_arm64.go
src/syscall/ztypes_linux_386.go
src/syscall/ztypes_linux_amd64.go
src/syscall/ztypes_linux_arm.go
src/syscall/ztypes_linux_arm64.go
src/syscall/ztypes_linux_ppc64.go
src/syscall/ztypes_linux_ppc64le.go
src/syscall/ztypes_netbsd_386.go
src/syscall/ztypes_netbsd_amd64.go
src/syscall/ztypes_netbsd_arm.go
src/syscall/ztypes_netbsd_arm64.go
src/syscall/ztypes_openbsd_386.go
src/syscall/ztypes_openbsd_amd64.go
src/syscall/ztypes_solaris_amd64.go
src/testing/run_example.go
src/testing/run_example_js.go
src/time/embed.go
src/time/genzabbrs.go
src/time/sys_plan9.go
src/time/sys_unix.go
src/time/tzdata/generate_zipdata.go
src/time/zoneinfo_ios.go
src/time/zoneinfo_js.go
src/time/zoneinfo_unix.go
src/time/zoneinfo_unix_test.go

index 1bdd1c9dcb24cfbf5cf33c9ffef36ff9a0b25da1..4fdf2a04b3df40d6f1d59c119faa9acb5029f317 100644 (file)
@@ -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 || linux || dragonfly || openbsd || solaris
 // +build aix linux dragonfly openbsd solaris
 
 package tar
index 6f17dbe30725c120218885cc662587b8c7dcb4d2..5a9a35cbb4e22d9df42f307843730032d7e0b392 100644 (file)
@@ -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 || netbsd
 // +build darwin freebsd netbsd
 
 package tar
index 581d87dca9de7e53837856b6f5e71af42aea1ee0..3957349d6ef0aa4461062c3203c7bd852d6328ed 100644 (file)
@@ -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 || linux || darwin || dragonfly || freebsd || openbsd || netbsd || solaris
 // +build aix linux darwin dragonfly freebsd openbsd netbsd solaris
 
 package tar
index ea84f1e40fd856d3f2a173e83fc965c89ffcc00d..5a47526593b093678b85e0c45c2dfbd5a42d16ed 100644 (file)
@@ -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 bytes_test
index ecb1d0f81aa46695d47634b94eb6571368e0ffef..8c9fb723a583b251027a22aff54ba3894063ee07 100644 (file)
@@ -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
 
 // The run program is invoked via the dist tool.
index 2e13d6b57acd443670770bf6c4e18ed1f78995f7..37b0d59ede7a1da511a06a734c21143b809df93b 100644 (file)
@@ -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.8
 // +build !go1.8
 
 package gc
index 256c6592591a67fa56e114d81ffc8a8d6c258004..5f9b030621cb8acadcdf2cb53e42633c6419625f 100644 (file)
@@ -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.8
 // +build go1.8
 
 package gc
index c6eb23a09091c0c98350dc5cb2458a2efe26c5e5..8cdbd4b0f3a5da72fc3945e6d07badf7f262ca67 100644 (file)
@@ -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 gc
index 326f491a69d341a654a326e33168954b29ab0905..5a0aaadf16fa66ed864cf1903b8688620293d6e5 100644 (file)
@@ -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
 
 package main
index 802f967aa669f2fc37379d849ddd749489ef32aa..9660e938b4ae12ece29e11bd71f3160b741b4c8b 100644 (file)
@@ -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.8
 // +build go1.8
 
 package logopt
index 66ff0b8f220f9cc3992811ac5b54a88b7d96897e..cc04eaadfd117256df6ceb3b0ee4820209230db1 100644 (file)
@@ -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.8
 // +build !go1.8
 
 package logopt
index d64abf652cdfe0f9ca515cf018ae48158c0492fe..0bc1097199464992994a2562a4f61795f2eb0f32 100644 (file)
@@ -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 || arm64
 // +build amd64 arm64
 
 package ssa
index 2f3aa16decfaa6ef297678dffd4c04422bb016b3..298b385bcb0f762413c6cf6f7402f0817240d005 100644 (file)
@@ -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
 // +build darwin dragonfly freebsd linux netbsd openbsd
 
 package typecheck
index 4059f261d4932a3b7646b298420f5eb88bd0620b..9637ab97abe458dc19e0ead21ed0759532fc7d47 100644 (file)
@@ -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
 // +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd
 
 package typecheck
index bef510a578ac3106a79f3a77e26a71b564829d02..6dbd1869b3e11b6c2d73fbca37adf6de94b146be 100644 (file)
@@ -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 builtin.go from builtin/runtime.go.
index ffd54fe4591c02feb0b8362141d34d2e7ecc2f23..974acb82ef86edced9230fd30392a43023d1ab3e 100644 (file)
@@ -6,6 +6,7 @@
 // Only run where builders (build.golang.org) have
 // access to compiled packages for import.
 //
+//go:build !arm && !arm64
 // +build !arm,!arm64
 
 package types2_test
index 821dc273d60353b23ec32e8a6b4a67f7dd9d975a..e87c84ce3eea4ce07ba6ab387df7a7c3871d2f2c 100644 (file)
@@ -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 !windows
 // +build !windows
 
 package main
index b6d0aedbbf70117a9235b82fd6e1a8d4c1dea272..43d28dc661985cbc3d6550b122a1558e7512dbbe 100644 (file)
@@ -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 main
index 17a0e6fbb56227d34226682c5154d43a554238b7..2db6d3a25e98f4ec1281e7ba3e7c3adffe77cc7f 100644 (file)
@@ -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 main
index dc897236fbbe19a1f956675c1636e358bb7d3c80..3255b8036526688e1495ec2b6017d3ab2057b8c9 100644 (file)
@@ -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 main
index 7e383f4b5b0e73578b623f4d07c93ef6747ebef7..a1f2727825ede1f1ead32d3e240311206a186ed5 100644 (file)
@@ -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.1
 // +build go1.1
 
 package main
index f6e10ca59c743f8a2f26bcdbea731196c0259d86..7d5ff9bbb748391dac7cc2f2be0c7fc032977bac 100644 (file)
@@ -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 main_test
index 9e869b03ea8aafa10c288abfc2771b7c9616d2cd..5cc0b0f1011e5a1a0c2ff3a0eb256960d90deb7c 100644 (file)
@@ -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 plan9 || windows
 // +build plan9 windows
 
 package base
index 342775a118286f9ecf790a02d3f87226bd14f17b..cdc2658372e429930170b5a25b6a8ee7948e0c9f 100644 (file)
@@ -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 || js || linux || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd js linux netbsd openbsd solaris
 
 package base
index 1fa4327a89d8a1f89e333bc2539b223ca083b5c0..a37b2ad6d184b0f89169e4e0e1d8ff5e396b8370 100644 (file)
@@ -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 || (solaris && !illumos)
 // +build aix solaris,!illumos
 
 // This code implements the filelock API using POSIX 'fcntl' locks, which attach
index bc480343fc3be7dedba979cfb2fba1fe66ef8e04..70f5d7a688a070e5381c7da252fcd153cda80fb6 100644 (file)
@@ -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 && !plan9 && !solaris && !windows
 // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!plan9,!solaris,!windows
 
 package filelock
index 0798ee469a46f40959bce21eea17ee36c5f6c360..908afb6c8cb7687d4d34545038b831e27434c2d8 100644 (file)
@@ -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 plan9
 // +build plan9
 
 package filelock
index 2ac2052b8f57372dd674b5f8eb5fbdb15f198161..640d4406f4200cd1e44c426421955678feb66f91 100644 (file)
@@ -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 !js && !plan9
 // +build !js,!plan9
 
 package filelock_test
index ed07bac608880a784348e7e3b06ef33ae395cefb..878a1e770d4d42a754950bc86f21221446c20262 100644 (file)
@@ -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 || illumos || linux || netbsd || openbsd
 // +build darwin dragonfly freebsd illumos linux netbsd openbsd
 
 package filelock
index 19de27eb9b6021ad9761712218ca1402a9d88f74..dd27ce92bd8d617449952f0c792f7966d10d2b84 100644 (file)
@@ -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 windows
 // +build windows
 
 package filelock
index efc66461ed2fd6a2f12ca0b0440cc3f6ddb81f73..729df5c681c6362e07a81cd247a7efb493f92031 100644 (file)
@@ -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 !plan9
 // +build !plan9
 
 package lockedfile
index 70d6eddf2d2da4b349e8de1ef114a986744aef91..3d4b97d78e5ed85adb6949c9cfefc0fe94860e46 100644 (file)
@@ -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 plan9
 // +build plan9
 
 package lockedfile
index 34327dd841e112cbb17f9f2789ccb858fbee433f..3acc6695a748003e6f0fc7107bc49ffcf5995162 100644 (file)
@@ -3,6 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // js does not support inter-process file locking.
+//go:build !js
 // +build !js
 
 package lockedfile_test
index 407d48ea4a35f5cad06b31b70b8b9c8e1aaae681..b753346e7da50bccbb6d904a3f59c30648093153 100644 (file)
@@ -3,6 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // js does not support inter-process file locking.
+//go:build !js
 // +build !js
 
 package lockedfile_test
index e4020b0b41e803f56dc2eed8d061d26d7a63f12b..ed694581a7c6af47ba12c789ece904fb15c1099c 100644 (file)
@@ -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 cmd_go_bootstrap
 // +build cmd_go_bootstrap
 
 package modfetch
index ce8b501d53c8a565ce538d7f9fcc54d8f70e3bf1..0e9f38196676b108a28c77e9c2d5b591ecb0ae02 100644 (file)
@@ -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
 
 // Interactive debugging shell for codehost.Repo implementations.
index 4fbc54d15ce837ba73fe28f65a7c85a602de47da..fbe2bda2e58d36cb96df283632067744cfc6cabf 100644 (file)
@@ -4,6 +4,7 @@
 
 // Go checksum database lookup
 
+//go:build !cmd_go_bootstrap
 // +build !cmd_go_bootstrap
 
 package modfetch
index 5842b858f0b1a48a1b2b78b404a574cabf6d58da..368f893198492984b0cc1efaffe988d5f172c5d5 100644 (file)
@@ -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 (js && wasm) || plan9
 // +build js,wasm plan9
 
 // On plan9, per http://9p.io/magic/man2html/2/access: â€œSince file permissions
index f49278ec3a8341668f35711cfc7eaae3f9775e89..e079d7399026feb44091d94973cfe0eeb6da9f05 100644 (file)
@@ -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 modload
index 0ac23913475beab944be2a70ecaa3202e165b8ec..825e60b27af89406122aa400b92df706aba508d5 100644 (file)
@@ -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 windows
 // +build windows
 
 package modload
index 5b2ed836242a4a8399566514d1c13a716dbd29dc..dc3c1415dbc57da9697307849184ef1f691a6bb7 100644 (file)
@@ -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 !plan9
 // +build !plan9
 
 package renameio
index 65e4fa587b7943d740ee024df4eca4c611163993..bed45af6ed21f555b08e32b82c7ffd0e77c7b81b 100644 (file)
@@ -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 !plan9 && !windows && !js
 // +build !plan9,!windows,!js
 
 package renameio
index 5bd44bd345338f31f7e278c0eaf66042f955ac51..d5c241857b476c47cfed2c9bb1c5b1f739426ee3 100644 (file)
@@ -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 windows || darwin
 // +build windows darwin
 
 package robustio
index 6fe7b7e4e4e9df3e4812f73a598e2073be43f96d..3a20cac6cf88aef9882a484439c2298489a80e2f 100644 (file)
@@ -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 !windows && !darwin
 // +build !windows,!darwin
 
 package robustio
index 30334b0f305ce495cc0475a43f6c08da063c90be..9277de7fee839e216f8c70b31b8720d839f16c5e 100644 (file)
@@ -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
 
 package main
index 781702100a09e8b596ce9d3a9095e7dc88ada578..08686cdfcf9f4c11e96587a99738a09aa62b4324 100644 (file)
@@ -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 cmd_go_bootstrap
 // +build cmd_go_bootstrap
 
 // This code is compiled only into the bootstrap 'go' binary.
index 72fa2b2ca6aa349241d1e7ec8a0b96c23d3ed3fc..a77e0f93176a16566dab943bfbad0e22fe88218e 100644 (file)
@@ -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 !cmd_go_bootstrap
 // +build !cmd_go_bootstrap
 
 // This code is compiled into the real 'go' binary, but it is not
index 2641ee62bfa5518b7d4500f9df55ffa8207afe3c..453af402b43dd9eb9208af234701127cfa887f25 100644 (file)
@@ -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 !windows
 // +build !windows
 
 package web
index aa5663355efb9c262012ed3b31d7954a73c6bc75..4d6ed2ec7f8c1dd0d9ab90f83f4478057c36b46d 100644 (file)
@@ -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 !windows
 // +build !windows
 
 package web
index 931f49a0691d278b490dad919b40e0e1e7e0716b..8b77871b23f26922b4612c9017522710f1511af5 100644 (file)
@@ -4,6 +4,7 @@
 
 // This file contains extra hooks for testing the go command.
 
+//go:build testgo
 // +build testgo
 
 package work
index 4b43d74f26951cf069ce8943f0209246e782289a..b9755c7e50e8b4ac56a1d035ba59fb851088cf30 100644 (file)
@@ -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
 // +build darwin dragonfly freebsd linux netbsd openbsd
 
 package bio
index f43c67ac2d8d629ba9b028f858676ab0d0cbcc8e..533a93180cdbf9e966df3b607e067d667a1dd2dc 100644 (file)
@@ -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
 // +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd
 
 package bio
index 22608e7e6995ee9a5ebfab8f5be57d24a9b7a2f2..4e46970648cf056223db8da75aa5816ba28feb42 100644 (file)
@@ -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 builtinlist.go from cmd/compile/internal/gc/builtin/runtime.go.
index f67b89091c1c64035fc6ba89dcbff9400c1f4e6e..a4d507d49aa40924615a590d111743461a3ab5c2 100644 (file)
@@ -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
 
 // This is a mini version of the stringer tool customized for the Anames table
index 20754d09f5ac9d0c085d251463d0e172a59bfedd..b4441297e6f25eb403197c191e39ceb4795bd43c 100644 (file)
@@ -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 main
index 776fc1b4f9793245f7704474e641efe32ad18e6b..70e743fa65c1f2534936b520529bc7ccdda54ab2 100644 (file)
@@ -1,3 +1,4 @@
+//go:build cgo
 // +build cgo
 
 // Copyright 2019 The Go Authors. All rights reserved.
index 4687c624de464611e7de9036ae187c3e94be6023..918b86cdc5bbaf7a293bdb33dc1c02c99d2a6bb7 100644 (file)
@@ -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 && !windows
 // +build !wasm,!windows
 
 package ld
index a70dea9fda3b13ff366850245731a8d9d5918fbe..5e1f2669d3c67fc942458bacc511066df7108982 100644 (file)
@@ -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 || windows
 // +build wasm windows
 
 package ld
index 244b70f0615067d724febf3fbb8ed91e2edb250a..56d232182615b13cbc68a0014a081d421b4dd5d9 100644 (file)
@@ -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 || linux
 // +build darwin linux
 
 package ld
index 807fe24375220c45edbb3a241993500bf2906b31..40a3222788ecb925ef32738bcf54db9a5eee01da 100644 (file)
@@ -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
 // +build aix darwin dragonfly freebsd linux netbsd openbsd
 
 package ld
index 6bf96bcb2baea2ce9867a8bb77b6efca306dd94e..6564bd54a3d1bcf27977493fedff76c829c34d0d 100644 (file)
@@ -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 && !linux
 // +build !darwin,!linux
 
 package ld
index 6b4025384b42788e7405fc9036c74ebea2447c9a..c870fa2c1823942106ca920c65b0295333128791 100644 (file)
@@ -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 && !windows
 // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!windows
 
 package ld
index 8c5666f216d2c4905bc52db71807de99a709f3b6..f9caa413e3c3c198a906d362e2a0e4aa7e5d8b99 100644 (file)
@@ -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 ld
index e0414e6b2221f73595ed460ec662f1bd41662a07..536e87e4ae0403897d3ca2a95e65b9a0d5cdf3cb 100644 (file)
@@ -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 cgo
 // +build cgo
 
 package main
index 0c9fafdad75456aea5f0cc4a111b83be260253a2..dbbb9c2787615320d08c41b1ad5c2baf2d6c5d1a 100644 (file)
@@ -5,6 +5,7 @@
 // This file contains a driver.UI implementation
 // that provides the readline functionality if possible.
 
+//go:build (darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || windows) && !appengine && !android
 // +build darwin dragonfly freebsd linux netbsd openbsd solaris windows
 // +build !appengine
 // +build !android
index 9c2d027366846ac9697bf75611cfb83efe8146ae..acd5693c7d5fea053190a80e9b7f174b21d60463 100644 (file)
@@ -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 !js
 // +build !js
 
 package main
index ea0cc6f88004349b678bf594b194746f811f937d..2b1a68d7f3d796ec7e454db3694caf1616783744 100644 (file)
@@ -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 !js
 // +build !js
 
 package main
index c569b40bb244cb37150eab0f124a2902abfa6b8f..8dc56a8c7be96c3fc93341b09c25eafd13ab875d 100644 (file)
@@ -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 main
index 49b78c3a8becf3c3c0f60c97fe4ec4ade8ca59c6..1de0e457a266e02bd8fff70a84c73b6f606d1478 100644 (file)
@@ -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 || arm64
 // +build amd64 arm64
 
 package aes
index 646bdfa5c0e6ce8867d90cd7fa3d28a660481836..4251805ef9b5a0f67880fdc34abca0091d3fcc06 100644 (file)
@@ -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 || arm64
 // +build amd64 arm64
 
 package aes
index 80a68b4ef0cc77db2c0bd78fbca24f0efc47d6c3..22ce3be7f3c0a88ee916141539099a887a2e7615 100644 (file)
@@ -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 && !s390x && !ppc64le && !arm64
 // +build !amd64,!s390x,!ppc64le,!arm64
 
 package aes
index 084edddc4d8d007738e913feb143e45fb4297d9c..01b4e0875738d0f5140bdbf9dfa99c8babf34772 100644 (file)
@@ -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 ppc64le
 // +build ppc64le
 
 package aes
index ca9c4bbf39197a0cf5ad21dcb319e5cdf6c84b36..03208402d79bd459b3552dacbeec21c980f6163d 100644 (file)
@@ -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 && !ppc64 && !ppc64le && !arm64
 // +build !amd64,!ppc64,!ppc64le,!arm64
 
 package cipher
index 8d2e43d327670e9d56782582fc708b188a7ad77d..f520208a379011889a7078113398eb6077cdd71c 100644 (file)
@@ -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 cipher
index 72196211e556c00c430aeb8da1cd0764ff8247e9..68670a4f93fc61463d27ea405c11b3eabd561172 100644 (file)
@@ -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
 // +build !s390x
 
 package ecdsa
index a434575dbcd78cffe73655b4c796fe4c9018592d..e8b16b3668bd1f8d8531e4494d5487b9599ac432 100644 (file)
@@ -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
 // +build s390x
 
 package ecdsa
index b9209a789bf35ccbb95993f31a310a9cfa1e79d9..f5c9841a126f903723b0f285a720c87049e5bdee 100644 (file)
@@ -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 || arm64 || ppc64le
 // +build amd64 arm64 ppc64le
 
 package elliptic
index c23e414156f29316a88a6bad37d76ca0a3d42875..3bb7bb70b697b50605f3ce49b92a7d949efc3306 100644 (file)
@@ -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 && !arm64
 // +build !amd64,!arm64
 
 package elliptic
index 6cf7742e1b429183923c46900fa151cf08db48e9..c405718b5e05c47085d47c3b3d78ceaa1673b60f 100644 (file)
@@ -10,6 +10,7 @@
 // https://link.springer.com/article/10.1007%2Fs13389-014-0090-x
 // https://eprint.iacr.org/2013/816.pdf
 
+//go:build amd64 || arm64
 // +build amd64 arm64
 
 package elliptic
index f74c607a88f479cbf62f371db30e876008339cda..8ad56638e9519cc6da679a47221b8ddcfb7c00d1 100644 (file)
@@ -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 && !s390x && !arm64 && !ppc64le
 // +build !amd64,!s390x,!arm64,!ppc64le
 
 package elliptic
index 160bdb12e32b176fab615f2d9b49563b0bfc05d5..40d9ed9d40fdc3fa99a5ce0845365d1efb8c97aa 100644 (file)
@@ -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 ppc64le
 // +build ppc64le
 
 package elliptic
index 0d9478bfd6a4599736bc383b64cf64e845e693cf..91e613b6310e1d76857700adbe14b502bd9ac919 100644 (file)
@@ -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
 // +build s390x
 
 package elliptic
index 812ce3c65522bddcbdfe4809c28b8c06fc9e6984..86e0f3cfe70b70d70d300c405536af4b79ee357d 100644 (file)
@@ -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 !appengine
 // +build !appengine
 
 // Package subtle implements functions that are often useful in cryptographic
index 844f901d18e6311d7ae0437be7034bef0428b9eb..35b442f7a2321e77fea5e0bfaf7bf8b22f804b91 100644 (file)
@@ -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 appengine
 // +build appengine
 
 // Package subtle implements functions that are often useful in cryptographic
index 1468924cbc0e5ecdbb51f198271c89bdf178c444..29729fad015e3de3ae0dec6e2010c1f7d02c17aa 100644 (file)
@@ -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
 
 // This program generates md5block.go
index f251e03d7ffbc1a8f1a8a769b9e77e7344daca9b..bc2d58c06940b3b5401512b5e2539c32eb072426 100644 (file)
@@ -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 || 386 || arm || ppc64le || ppc64 || s390x || arm64
 // +build amd64 386 arm ppc64le ppc64 s390x arm64
 
 package md5
index 0b46e70b6041f390cec66a65f6fb2570ba762f01..ea4fbcd0b41012630b43ca7e584ccfb2c0efd02a 100644 (file)
@@ -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 && !386 && !arm && !ppc64le && !ppc64 && !s390x && !arm64
 // +build !amd64,!386,!arm,!ppc64le,!ppc64,!s390x,!arm64
 
 package md5
index c9499715dc103fad159270d4940084e0ec1a0f58..85d4d9d47f9db4bc0025c183d51fc3db2efe6e34 100644 (file)
@@ -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 rand
index 60267fd4bc229263c39d016493b34c879cc0ccb0..45e9351a31565fb8ad40ad6ceddef5dcea716433 100644 (file)
@@ -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 || freebsd
 // +build linux freebsd
 
 package rand
index 837db83f770844ef92d4b644fed2a491feed267f..fd50735c7de4bed1a516e3a75378ed540dd6e629 100644 (file)
@@ -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 || freebsd
 // +build linux freebsd
 
 package rand
index 7e939742ac657bbe389305a512676f39feceb243..7ddc2b6169cbe6d7f2587947ad150b68c6cc1739 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package rand
index 548a5e4cb9a4d3d97c85d8459199324bd14443ce..81277eb6a5dea924896a1fa5f87aab0315f360a2 100644 (file)
@@ -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 || plan9 || solaris
 // +build aix darwin dragonfly freebsd linux netbsd openbsd plan9 solaris
 
 // Unix cryptographically secure pseudorandom number
index 08acd044d019d55474219482847f61a459a88f2c..4bb8b3324f293b7f27493ccfded6305e4938d2bc 100644 (file)
@@ -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
 // +build s390x
 
 package sha1
index 98038e58077c2ff0ebc74419a257cc611fe541e1..436f78c74534d40f4fef63a31bebb354baad4edf 100644 (file)
@@ -1,3 +1,4 @@
+//go:build amd64 && (linux || darwin)
 // +build amd64
 // +build linux darwin
 
index 9c7df4e40a7949103dea0f1c60d20eef1e209f1f..93054efa7c1827e1c117fe22a37f18bd6a03dafc 100644 (file)
@@ -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 || 386 || s390x
 // +build arm 386 s390x
 
 package sha1
index f95ea0eee4d6e7da41b3ddb0871e1588b46fca67..feaba5a23abab38cb230443280f0fbfdf45b6f20 100644 (file)
@@ -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 && !386 && !arm && !s390x && !arm64
 // +build !amd64,!386,!arm,!s390x,!arm64
 
 package sha1
index 5917a4862af1b21179aed28109415170f41c8314..7ce88cbb2a8b2f525e6e0123c035b1dda8d3d19e 100644 (file)
@@ -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
 // +build s390x
 
 package sha256
index fe07e53b845ee39fb08fe96afe2d3178423bfd96..a6bb396f1339c2e2601f5d29629669d32c88bfa5 100644 (file)
@@ -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 || s390x || ppc64le
 // +build 386 amd64 s390x ppc64le
 
 package sha256
index 61362f41260cc6cc2f4fe95d9a214b56ff4da0d0..620c048b93c0672c3957e0a9374a2ceb4b82b220 100644 (file)
@@ -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 && !386 && !s390x && !ppc64le && !arm64
 // +build !amd64,!386,!s390x,!ppc64le,!arm64
 
 package sha256
index 9024ce668a0be8a4fe5295f64ba0d3b4bcf493e3..faf732670adf220ed938c22e758428ea27be5071 100644 (file)
@@ -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
 // +build s390x
 
 package sha512
index 18151cea245758d232883955b4d7cff173a051f7..e2386f29ab6fe2d90f3a3f246d18b0200163ec97 100644 (file)
@@ -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
 // +build amd64
 
 package sha512
index 613d1e02a36bd0f366859234b7928a666e2e06f4..6c22f44801beb9cf014ad40ce4492cfa054a07d0 100644 (file)
@@ -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 || ppc64le
 // +build s390x ppc64le
 
 package sha512
index 3eabd2c7c01d0f95f9609893ead4d002c68443bb..865a7356f1ef75adb185458c83dffa1feb96d68e 100644 (file)
@@ -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 && !s390x && !ppc64le
 // +build !amd64,!s390x,!ppc64le
 
 package sha512
index 1857185fe4d8f0cf49ef9cf36c9e8716d3d34789..7ea90f8a7b51c32f0d7e595a94d96db724872233 100644 (file)
@@ -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 a self-signed X.509 certificate for a TLS server. Outputs to
index 72718544ae6bdd04ed005e1e61f7f1b319c06864..19fc6986769f62fdb5eb29ca1c84694b51e8013b 100644 (file)
@@ -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 tls
index 0572c6ccd810814634bc668b5e571963b9d7f208..abcdcdd91e4e24859bd9fc50fcc4bf4f37d46ab7 100644 (file)
@@ -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 macOS provides cgo-less wrappers for Core Foundation and
index 3163e3a4f727fe6ee4e9ab957c2e746c75183a6c..f346ff4c7fd1a8c5c20497fed4869cef7b7ff866 100644 (file)
@@ -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 macOS
index f04b6bd0d66991537d791bf278d1270308cc6b6f..822e8573ff12d732542a3135264bf316937d297b 100644 (file)
@@ -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 || netbsd || openbsd
 // +build dragonfly freebsd netbsd openbsd
 
 package x509
index c9ea7e80f375d8febe266f2d5ed163faf62e30c9..05593bb1055b50d06df34ec12455385621f3b856 100644 (file)
@@ -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 x509
index d2dfb62b77c6a9ab56300c2fd9b60ab44b8f280a..50432f3d2c5f54840264c0af694e9491cc1a6ee4 100644 (file)
@@ -1,8 +1,8 @@
 // Code generated by root_ios_gen.go -version 55188.40.9; DO NOT EDIT.
 // Update the version in root.go and regenerate with "go generate".
 
-// +build ios
-// +build !x509omitbundledroots
+//go:build ios && !x509omitbundledroots
+// +build ios,!x509omitbundledroots
 
 package x509
 
index 8bc6e7d9c478da46dc5e9edb1bfbfa6f6f01284a..05bd672d5d8355a4bb32fd70e64c121edbdf5614 100644 (file)
@@ -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
 
 // Generates root_ios.go.
index 4e537a4fe5e021fac4afdc03ea287666fc4eeaed..f2c2c0af3803851cca5811c627cff5f1979366d8 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package x509
index 0055b3b86272093cd3b25836010aeaa6442e7f15..81f2f112d07da5e2933a008d5518e76d774135d8 100644 (file)
@@ -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 && arm64) || (darwin && amd64 && ios)) && x509omitbundledroots
 // +build darwin,arm64 darwin,amd64,ios
 // +build x509omitbundledroots
 
index 5ab6c931deb619a7eb4da4b39bea942817cbbc41..158bd7f91aebedc7195d4cbbd96f6fd6446ca612 100644 (file)
@@ -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 && arm64) || (darwin && amd64 && ios)) && x509omitbundledroots
 // +build darwin,arm64 darwin,amd64,ios
 // +build x509omitbundledroots
 
index 2dc4aaf5d7a794cea03ae9251f7fbcbe9bab094b..2bdb2fe7136aced8f87c1a344ffe77bd9c737050 100644 (file)
@@ -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 plan9
 // +build plan9
 
 package x509
index 262fc079d519c7f25ca3cb73814ac00c76e32431..dede825eddf4967fee4e2cbf9be06593c69f3d02 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris
 // +build aix dragonfly freebsd js,wasm linux netbsd openbsd solaris
 
 package x509
index 878ed7c2faf20b03b39a6d3b5e3ce02d31e9a01b..38038a65f3ed92e3cbc11b7493d6736fd88a12d1 100644 (file)
@@ -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 x509
index b778df261aa84b9373a089a4adb5e99014bb7f5c..ef3ee807bf0c5d037d7ce8beea4a7d8be9f39acb 100644 (file)
@@ -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
 
 // This file is run by the x509 tests to ensure that a program with minimal
index 739671d73f155d95d3e42c7bfee9e72d50f414ff..bba3a068d64d0dcc1300a80efcf30e38e50c87a0 100644 (file)
@@ -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 cgo
 // +build cgo
 
 package pe
index 8be21d5d2891d445f7e6afcddded8a098b2ad6ff..a03fa83d8ce3a7a7c2075369e95c0ea6e577b71d 100644 (file)
@@ -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 gofuzz
 // +build gofuzz
 
 package csv
index 8f93742f49946a70e6422d8e256e20c17c8aa9b1..5965fea921f9d30bd098e3d414f48b79a07c91eb 100644 (file)
@@ -3,6 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // Delete the next line to include in the gob package.
+//go:build ignore
 // +build ignore
 
 package gob
index 1c31e66625fd50be566089ee6cd6df61b9b5c1de..994be877d935b60be097398cf5d9538509cfffc2 100644 (file)
@@ -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
 
 // encgen writes the helper functions for encoding. Intended to be
index 17238c98df0d3bdf04a1084c1edd129a656f8e84..8c0bbc4ff2e50bbc1f5a891f433b8ada36022f26 100644 (file)
@@ -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
 
 package main
index 409b8c9d9525a00d2e031e434db2e449a26e7de2..b562da177dbb34d0b4faf149ced9c1464706946c 100644 (file)
@@ -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
 
 // encgen writes the helper functions for encoding. Intended to be
index be03f0d7ffc55510da9dcb41937709c959b6d9f9..d3fa2d111384152b18e9b804bea4bf429c1548ed 100644 (file)
@@ -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 gofuzz
 // +build gofuzz
 
 package json
index 3025cd5681591f0c2f0aaee701786be344dcdcc5..e16e186e0df9662ee420c51d2ad41eaced1f6a31 100644 (file)
@@ -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 build
index c6aac9aa1bc2d6fb5eec8749a220f4b69ced5036..c8ec7041fb3653cd71ce0799925851303fd50868 100644 (file)
@@ -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 build
index fe26a0ea8426950cd4fea7100d181099ace14dfc..28cb84f91da8f0436684072703ad84c5ce231210 100644 (file)
@@ -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
 
 /*
index 3747f3b15a08d94fa4bdd4175d81231efd4cdc91..32a25a41176159264c28ab7943aceb200b56712f 100644 (file)
@@ -5,6 +5,7 @@
 // Only run where builders (build.golang.org) have
 // access to compiled packages for import.
 //
+//go:build !arm && !arm64
 // +build !arm,!arm64
 
 package types_test
index 52709df17bdad6831537b3f56853c52dcb4efc04..ca1d42c14d5aec3d543529ace321d4f9fd54ca17 100644 (file)
@@ -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
 
 // Build this command explicitly: go build gotype.go
index 1a5e542ab6dd2e02e30cb8b4625bf6f3f1af1976..936e5bf3e0c8dea18d52dda4505a32002edf3d17 100644 (file)
@@ -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 && !s390x && !ppc64le && !arm64
 // +build !amd64,!s390x,!ppc64le,!arm64
 
 package crc32
index d7af018af48f9d1176520693a958864014fe6bdf..c98454c6850cf84290ee92233c5f911b525b2d61 100644 (file)
@@ -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 the constant table associated with the poly used by the
index ffa3e257f4052a1aff16f83e9d672ccb00d50181..ecaf4f9069416b14c27f28c49618a70e1315c110 100644 (file)
@@ -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 gofuzz
 // +build gofuzz
 
 package html
index 3243e539819127bab68bd72d37cdf72329a12526..7bb257d865ffa6bfa6ea15240efe916c41fc3695 100644 (file)
@@ -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
 
 package main
index 36de5dc9cc6b5bf9c137a86ccbceb65dd46014b1..38f41303fa747fa23b67f2306bc761eecde9ee28 100644 (file)
@@ -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
 
 package main
index d9cb3921e57a5fe1b1f256e3e689ed99d69de046..6508533f4440b3f2816c43593e4beee387a30030 100644 (file)
@@ -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 gofuzz
 // +build gofuzz
 
 package png
index 94184d71b68309417d896b17c235c6bab7528c46..3bc9b1e2aea4328551f95aa8da19c5f3ab83ac44 100644 (file)
@@ -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
 
 // Gen generates sais2.go by duplicating functions in sais.go
index 70e2ed1feb945b1bc17996bbaa37d24947b17f2b..77589d4c34f32679aa6ec3f00ed83be5f4adcf4e 100644 (file)
@@ -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 goexperiment.regabi
 // +build goexperiment.regabi
 
 package abi
index 5ef9883dc6e66ed90ef3eb2c1de327fe8cb10833..1e36f36e8066e398d57524c194e063fc3b9eb809 100644 (file)
@@ -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 !goexperiment.regabi
 // +build !goexperiment.regabi
 
 package abi
index bd4489a6b9c13296ef07a2c1ab3156fbfd90a7af..0690d0cf31c51e1a4d908af72fb1a783e03f6eb5 100644 (file)
@@ -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 && !s390x && !arm && !arm64 && !ppc64 && !ppc64le && !mips && !mipsle && !wasm && !mips64 && !mips64le
 // +build !386,!amd64,!s390x,!arm,!arm64,!ppc64,!ppc64le,!mips,!mipsle,!wasm,!mips64,!mips64le
 
 package bytealg
index b53ba97463fd5dda4a3f97893b45fa4bba8f70b0..baa188ff7af553ffbcbbf66de34347f3b4134b7f 100644 (file)
@@ -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 || s390x || arm || arm64 || ppc64 || ppc64le || mips || mipsle || wasm || mips64 || mips64le
 // +build 386 amd64 s390x arm arm64 ppc64 ppc64le mips mipsle wasm mips64 mips64le
 
 package bytealg
index 5575e81ab8d03227660b7c1e8958b4aac64156ab..1891d29b24cb4a6646e4e85fb5263d44e0e2a655 100644 (file)
@@ -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 && !arm && !arm64 && !ppc64le && !ppc64 && !riscv64 && !s390x
 // +build !amd64,!arm,!arm64,!ppc64le,!ppc64,!riscv64,!s390x
 
 package bytealg
index b1ff1d265a24a4d784787979ac2d3957a51a8b2c..a19a6f8223fe9e495cda45dd9d775dc969e532ec 100644 (file)
@@ -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 || arm || arm64 || ppc64le || ppc64 || riscv64 || s390x
 // +build amd64 arm arm64 ppc64le ppc64 riscv64 s390x
 
 package bytealg
index 98e859f9255b584382ec088ec98f617bbd36ad37..2b8b139aeb80552a997942975b59d11ce1edf7b1 100644 (file)
@@ -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 && !arm64 && !s390x
 // +build !amd64,!arm64,!s390x
 
 package bytealg
index fde42142458caec8cd8b4dbef40dfccbf74f667d..af56d8a29485dd5b5bd05c0312677668ea0955f3 100644 (file)
@@ -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 || arm64 || s390x
 // +build amd64 arm64 s390x
 
 package bytealg
index 0b012a8850a2393aa9562ae2f4b6a69d99fa8ca1..6ef639fafdc992dd24023267efda30dca57947ef 100644 (file)
@@ -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 && !s390x && !arm && !arm64 && !ppc64 && !ppc64le && !mips && !mipsle && !mips64 && !mips64le && !riscv64 && !wasm
 // +build !386,!amd64,!s390x,!arm,!arm64,!ppc64,!ppc64le,!mips,!mipsle,!mips64,!mips64le,!riscv64,!wasm
 
 package bytealg
index f96c5be49106c1b1ca0c6d45cb3c0b911ded3a94..965f38fe52761cb34643ecbc6af03df92a94b91c 100644 (file)
@@ -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 || s390x || arm || arm64 || ppc64 || ppc64le || mips || mipsle || mips64 || mips64le || riscv64 || wasm
 // +build 386 amd64 s390x arm arm64 ppc64 ppc64le mips mipsle mips64 mips64le riscv64 wasm
 
 package bytealg
index 3c9e57c52aa14ce874d45a94d7036f97fd4c430a..ac6eee54b211389b095a5bc3acdaf30e46535fb5 100644 (file)
@@ -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
 // +build arm64
 
 package cpu
index e094b97f973c39645b07e74a868cfbcf0526fec2..ce1b250a18913792c2733007b3e0259fb64950f4 100644 (file)
@@ -2,9 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build arm64
-// +build darwin
-// +build !ios
+//go:build arm64 && darwin && !ios
+// +build arm64,darwin,!ios
 
 package cpu
 
index 9de2005c2e36846f1392e72d1ad4401401a579cd..8c481370da65778478a7dbdbff65bc2b990c6193 100644 (file)
@@ -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
 // +build arm64
 
 package cpu
index fdaf43e1a25e05542efce14f5694ab5fc56ece2f..8ac04fd8f975b8d5b18967b47c085c432948d360 100644 (file)
@@ -2,8 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build arm64
-// +build linux
+//go:build arm64 && linux
+// +build arm64,linux
 
 package cpu
 
index 2f7411ff1e11993f666242055036797d1cece69e..c3a3f9a8e9d64d97d3dc40546be5845503feda33 100644 (file)
@@ -2,9 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build arm64
-// +build linux
-// +build !android
+//go:build arm64 && linux && !android
+// +build arm64,linux,!android
 
 package cpu
 
index f191db28d2a0d3481c46613afaed1f3fd7b09d22..e8b5d529a4bbd6517b563bb6ece707c5ef54a9c4 100644 (file)
@@ -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 && !freebsd && !android && (!darwin || ios)
 // +build arm64
 // +build !linux
 // +build !freebsd
index 0c4794a70acf33af1a95587d323be88b3a49dd34..d2f9d4499ba375f258cc163d328ef361e64441e2 100644 (file)
@@ -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
index ce1c37a3c7ca69dc0b25874bb60579e18ec84c73..8d563b536c3364ddcbe54e2fe6e0bbcf9c15cd2b 100644 (file)
@@ -2,8 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build !386
-// +build !amd64
+//go:build !386 && !amd64
+// +build !386,!amd64
 
 package cpu
 
index beb1765427ee2c7ab2185a47666e47eb20a20a91..2e7fd3ebb9f75fecb31ee0b2f2bc247a4bef6940 100644 (file)
@@ -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
index b840b823bae5445fda49c6b35cb49a72941f7779..3d17a9c7304a565d926d91ff2462cc9098a8cd61 100644 (file)
@@ -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
index 73b191436dfb1532635e22b340ab4f7bb8037b7b..b7c73451118b5a238e8c51f66a977e7db6b44ba0 100644 (file)
@@ -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
index ba6bf690342f43785fd1dad3c9ee703ae3ea40c2..fd1217a05d7cab12bf2b7c0acd38553cafd47c03 100644 (file)
@@ -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
 // +build 386 amd64
 
 package cpu
index 61db93bd517f153635e0971f8d312ea8d34204a4..e3e16cc1612e05955295a965204ca0dc66e497aa 100644 (file)
@@ -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
 // +build 386 amd64
 
 package cpu_test
index ce72bc389656a43681504ee97feff50b60526f1a..2338b78f3aa987a3e76c871c2eb3ca029d277f95 100644 (file)
@@ -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 goroot
index 3530e59a15f88d1452c73bba2729d8a91e44cd1f..b1041da11d8b7c048b15c0758b6b334667bf950f 100644 (file)
@@ -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 goroot
index 0b23fc32106f8393e292ecaba8331562f53d71f5..55c548824f8bdd428ccb32f2cc69edb4971b43a7 100644 (file)
@@ -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 poll
index e3bddb4bb270edadcd2f4c49ab310f453f2f30f0..c55f5f0df5057da6c96a0a68f3865217bfcaaae0 100644 (file)
@@ -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 windows
 // +build windows
 
 package poll
index c40ffcd20f33689b1f53b0c760a38b2d0d9bc2df..bcc25dd666a7b292b16ecbf1e27e3b4aa9a98cf7 100644 (file)
@@ -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 poll_test
index abadf509300135835143ab697a53fe68798c485a..f59c1f6dfaba5341410d34518e263d137c7334ab 100644 (file)
@@ -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 || windows
 // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris windows
 
 // Export guts for testing on posix.
index 120fc1195fe6ec1fc71a7f3550d2dd23f442cda9..7bf0ddc792f642c163581289bbb16f20ffffb49a 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package poll
index 642472bc2ba53ce7c3cf602f24a0d290118d8205..cc609e48ad7af9f578a094bb6dc47a6da26e74bb 100644 (file)
@@ -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 || solaris
 // +build aix darwin solaris
 
 package poll
index 5ac814359ae88c66759955cd7f95911178a1f4cc..8db5b6650492eecc4aaad7aa891568662827cd85 100644 (file)
@@ -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 poll
index dd7956f14d45698a68b7113d711230d80cc7befa..651a5ecd8b2d4f01e9774bedd92d16ea01314eb7 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris
 // +build aix dragonfly freebsd js,wasm linux netbsd openbsd solaris
 
 package poll
index d6b28e503cda489362f9c92c2430d3b538095170..760e24802e3fbd625515d7fc7d556f960c336375 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package poll
index 222e5c6707afd08a4a9b96bdb0463631d4b205d9..beb0f7d6a619e164ec89700f6fcdabd8abfdf2ba 100644 (file)
@@ -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 || windows || solaris
 // +build aix darwin dragonfly freebsd linux netbsd openbsd windows solaris
 
 package poll
index 4edfa953a4b3d10b52c1c09864b679538a4a3b8a..487f3285ee9895438b16fdc84539de4fac7f0976 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris || windows
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris windows
 
 package poll
index 4449eb3a15fe9cd74addb2a6f1d18e107984faa0..1dcf51d41946aa972671f10cbdec8c8847b45d46 100644 (file)
@@ -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 || windows
 // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris windows
 
 package poll_test
index 2e77e76c87135e19360818bbd26170bdea32b840..fe8a5c8ec008b494d0e0d765806351b9a3f0e81c 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris
 
 package poll
index e2024471d4fb0b6f61e02e363501e72120c3f540..805fa2ccd9ae79e706e15569aca5018c86d89385 100644 (file)
@@ -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 poll
index 1fa47ab1a32d973bd71485a842767ef8d90b8078..a0b11ed5ae972c5337660291b52bf52c04177cdb 100644 (file)
@@ -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 illumos
 // +build illumos
 
 package poll
index daeec96c3857d5538915b45be94f2e03149f7377..87f284a56a1b21d72c24b361287bb2c84c6313c7 100644 (file)
@@ -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 poll
index 5fd5449bb0cea31d7753905032d137a42d955b5e..d519f602c1e9850d23898c7924b881bb6793e660 100644 (file)
@@ -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 || illumos || linux || netbsd || openbsd
 // +build dragonfly freebsd illumos linux netbsd openbsd
 
 package poll
index 11f90e96968752adbba6e13b409a5066132a1233..c88d65cdc83de5ff8567065a08a24084d637d0bf 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris
 
 package poll
index 057067465bf37cffacef3c18b3e2aaec76b0b71e..f4058b298f35c5ae73ba5c3ff56fa920abcda1bc 100644 (file)
@@ -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 illumos
 // +build illumos
 
 package poll
index 6f98947866a99c2037ef4f26ecb42f9430e116ca..6fd5d86630b6aa45a2c6ebfb4e4d34984c8fa583 100644 (file)
@@ -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
 // +build darwin dragonfly freebsd linux netbsd openbsd
 
 package poll
index 66005a9f5c952a68574a50d64cecab36b13728f1..9eda85882ca8a155f38ba00cd3bc168e28ed30ee 100644 (file)
@@ -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
 // +build dragonfly freebsd
 
 package poll
index ff7982ca9e68a4667aca1f30ae1f26d8ab1b25f8..52191d85c671bb3c9ff61f32808c8da09b0f170c 100644 (file)
@@ -5,6 +5,7 @@
 // This file implements sysSocket and accept for platforms that
 // provide a fast path for setting SetNonblock and CloseOnExec.
 
+//go:build dragonfly || freebsd || illumos || linux || netbsd || openbsd
 // +build dragonfly freebsd illumos linux netbsd openbsd
 
 package poll
index bb5ea02c0a658897530e9f52b87c4cd867d5d604..4f2e2fb455dc9bc23842b6368243b3b6a88aee36 100644 (file)
@@ -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 || windows
 // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris windows
 
 package poll
index bd942c293456f0607358acadf4cb201be188caf3..4fb9600deedff1b9d8161b0e32551e4bdc2255e2 100644 (file)
@@ -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 poll
index c55a1e3c5b19c1127b5b09fc9abdb9db93ed715a..d86c4c1f81ad4c4ca7528b80dd1e56527af4db31 100644 (file)
@@ -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 || windows
 // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris windows
 
 package poll
index 21cb40db70e8aa142797d28edcd890878c1c1cb7..fd5e20f1f40c03d02e5fa5180f5db791d6d34c8e 100644 (file)
@@ -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 plan9
 // +build plan9
 
 // Simple conversions to avoid depending on strconv.
index 4b3c642173177ca446566a891d9a54b42461a381..69207a4b89707935b17aea30aec4fe1c41585906 100644 (file)
@@ -5,6 +5,7 @@
 // This file implements sysSocket and accept for platforms that do not
 // provide a fast path for setting SetNonblock and CloseOnExec.
 
+//go:build aix || darwin || (js && wasm) || (solaris && !illumos)
 // +build aix darwin js,wasm solaris,!illumos
 
 package poll
index 0123fc33de720b228c1a49ce5482ad7fecfb96f8..824de7569e8a2cc96b7c430f52fceb17ab71ad21 100644 (file)
@@ -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 || illumos || linux || netbsd || openbsd
 // +build darwin dragonfly freebsd illumos linux netbsd openbsd
 
 package poll
index d83c0165b22a8e9ef7c94504efa4b96f68f0f4ee..67b13057131ead99c9c2d40d026f56bd92db681f 100644 (file)
@@ -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 !race
 // +build !race
 
 package race
index 2e7d97beaa2e1da7d20863db11c2998e25c50640..40f2c99383fa999eb0c6fdd46ec7012e2cc87f7a 100644 (file)
@@ -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 race
 // +build race
 
 package race
index 4bdbb55edbf98b3059d88b93042ca726288976dc..73289f1cd05a89201c8c0db3d0d62081db0c6d86 100644 (file)
@@ -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 !windows
 // +build !windows
 
 package execenv
index b50029c19839bf9dc034487369121d5faf1edebe..6c0654943e690613175113c4a97abe1292927a0e 100644 (file)
@@ -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 windows
 // +build windows
 
 package execenv
index f857d6828004e8d8b6a1e4d0504ec5a760b9e8d1..9b08864f7f580dae8697db57a9bdfc2221a7a0b2 100644 (file)
@@ -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 || openbsd || netbsd || dragonfly
 // +build linux openbsd netbsd dragonfly
 
 package unix
index 6c3a8c916039ff06b2fbeee1bc2529ce5b852b9a..4cc351ea278d88b9fe605c64a11bc8924db810a2 100644 (file)
@@ -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 || solaris
 // +build aix solaris
 
 package unix
index c6ea206c121b005a44809018e5dd54880dd37517..050d401bc0ef6addcc53bb6477f73b0cc42c6172 100644 (file)
@@ -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 || mips || mipsle || 386
 // +build arm mips mipsle 386
 
 package unix
index 31fe6a5a7b56e7c4e322e7cf576aefced51df679..e53a2d1b75fb996631cceaac9c1d46f4c2424778 100644 (file)
@@ -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 || riscv64
 // +build arm64 riscv64
 
 package unix
index e76c1cbdceba51c011814b7a3548d846dabbd830..4cb4a5976ba7371c72ea374bda4b6cbe1394b736 100644 (file)
@@ -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 || mips64 || mips64le || ppc64 || ppc64le || s390x
 // +build amd64 mips64 mips64le ppc64 ppc64le s390x
 
 package unix
index 6c75afc2abe732b4d1c435bbfe9c980a32e51f88..46a4f6b030d46d929f7297f3097f9331bb0a77c5 100644 (file)
@@ -5,6 +5,7 @@
 // On 32-bit Linux systems, use SYS_FCNTL64.
 // If you change the build tags here, see syscall/flock_linux_32bit.go.
 
+//go:build (linux && 386) || (linux && arm) || (linux && mips) || (linux && mipsle)
 // +build linux,386 linux,arm linux,mips linux,mipsle
 
 package unix
index db25fcca98597cb389ff356c5ac144c16030d0a3..a22986cb8a402bb8759b61214cab952ad6b69178 100644 (file)
@@ -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
index a360b53c3dbfac3f89b1da05465bf8e481d0c2d1..a5a5080d46153a9bed00ede4cfd324b177b11e4d 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package unix
index 37cc7943eed0b84f03c14e61d02072827cd56059..d9565efcb6af46261bf36921483013564ffe29b9 100644 (file)
@@ -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 || solaris
 // +build aix darwin solaris
 
 package unix
index f3ac8d29df1d75f0b299dad1de5b70877ad42729..b0aac895808deb568c4def6d39f99a1e6615f4e7 100644 (file)
@@ -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 illumos
 // +build illumos
 
 package unix
index f48da40188eee4df132476fae48db43d2924a7aa..a76025454cad46c8df043d534cce411ed11e9cf9 100644 (file)
@@ -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 && (arm64 || riscv64)
 // +build linux
 // +build arm64 riscv64
 
index 6680942cb8be1626babfff9a885ce3873ae5581f..f353d4d73e48f606c6e04b6565ad8985941f55c6 100644 (file)
@@ -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 unix
index 185d8320c9e039b4cebaef55edc614a767fa3d9e..4ed471532a2a415edb4bd26a1808557720d8f9a1 100644 (file)
@@ -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 unix
index 576937e3f5cdbd03e401ffbb4b8c2c467e34fde1..b484ffef80b97b42c897517f5c7ef57c9817c71b 100644 (file)
@@ -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 unix
index eb7973d65b41c364d20041110e363cbc40e56e96..f60949f662b58a7710acf27540740d56b7d8a20c 100644 (file)
@@ -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 illumos
 // +build illumos
 
 package unix
index e3d4d16b33e5fc152fb12c9bee41aa563b05da3e..02f08f57c717c590bc370457b47534e11c07f0ab 100644 (file)
@@ -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 cgo
 // +build cgo
 
 package testenv
index ccb5d5585f6d971846b36e36c5bd8bd5d29f2317..846ec9385647efabf512f47b8b9361d6b2a8ae95 100644 (file)
@@ -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 !windows
 // +build !windows
 
 package testenv
index 4288d37dee03ab13c137f2539cf083721afbf09c..993976569e2423b1e9649cb5151486eb289e6ce4 100644 (file)
@@ -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 !windows && !plan9
 // +build !windows,!plan9
 
 package syslog_test
index 97c10f31df37de41fa7da9d13f5c434165065e33..6abd4ad124863d014de91a3a1e2037a121b65f32 100644 (file)
@@ -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 !windows && !plan9
 // +build !windows,!plan9
 
 package syslog
index 207bcf57c17ced1dec0c97a2d84e07e60fe933d9..62c62508452a06dcbf10905f9aa09035f52dfe02 100644 (file)
@@ -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 !windows && !plan9 && !js
 // +build !windows,!plan9,!js
 
 package syslog
index a64eed29f17fe8121622259135fe3ce3213f9158..2e45f0764fd9e430a652e2daf84d5b22b76467dc 100644 (file)
@@ -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 !windows && !plan9
 // +build !windows,!plan9
 
 package syslog
index 1d2d37cf931b0f2eb445edfc02a8066f547d94a9..89108fe14926af967a365da4af8bfe3c1b4f4459 100644 (file)
@@ -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 !math_big_pure_go
 // +build !math_big_pure_go
 
 package big
index d519bdc87b636328d568f5a34d1d77b396c296fe..eea3d6b32561b7c1c669d07bc9057054629b986f 100644 (file)
@@ -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 !math_big_pure_go
 // +build !math_big_pure_go
 
 package big
index 5faa3bd281999eab511cb7384b2d0f7efc80b34b..059f6f1325fa530d1af39f05d1ee1cb6367cf8fb 100644 (file)
@@ -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 math_big_pure_go
 // +build math_big_pure_go
 
 package big
index f1a69e1df0800f07020c131e2674bcaf4231052d..4193f3231cb32439c9b938fd1163fb068e7648db 100644 (file)
@@ -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 !math_big_pure_go
 // +build !math_big_pure_go
 
 package big
index ce6bca888598884de39df44db27cfb8bafc04da5..8375ddbdd4c8c4409a5f231083816c3aefcad639 100644 (file)
@@ -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 && !math_big_pure_go
 // +build s390x,!math_big_pure_go
 
 package big
index 192b4bee00f2912b95c27724b2f6a6675bdbe562..61cb5c945707610c618b055c1852679b7d48cec5 100644 (file)
@@ -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 !compiler_bootstrap
 // +build !compiler_bootstrap
 
 package bits
index 5df5738848a68cd41e8da28fc45f4bd81c69db4e..4d610d33b8bb399a123540cc8a30293ace326732 100644 (file)
@@ -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 compiler_bootstrap
 // +build compiler_bootstrap
 
 // This version used only for bootstrap (on this path we want
index 1d3ad53fe67cb04e4cf90bcff8ecf2a26afe6d25..ac4004df4149033a96febdbd0358a68f46b1cf3c 100644 (file)
@@ -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
 
 // This program generates example_test.go.
index b068d5e0e399cacbc34c80dffa09472697839a89..5ab0b5fc57bae8ebc0e76c44744fa46b0357601a 100644 (file)
@@ -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
 
 // This program generates bits_tables.go.
index f8e60c265f609d6f3c3d60fae88c648b918965ed..78b42316de59d998eea787f476a40a7a2976365d 100644 (file)
@@ -5,6 +5,7 @@
 // Disabled for s390x because it uses assembly routines that are not
 // accurate for huge arguments.
 
+//go:build !s390x
 // +build !s390x
 
 package cmplx
index 8dad3c810b6e4bcc91022758deb06b857f66f534..654ccce48103508d82d091a1e9e32fa1060a9a24 100644 (file)
@@ -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
 // +build amd64
 
 package math
index 9448edc3394a9a4924def1c456b4f22c012cdea2..ec81a4a31da396fe4e9000f996a2dfe9aa6f1624 100644 (file)
@@ -5,6 +5,7 @@
 // Disabled for s390x because it uses assembly routines that are not
 // accurate for huge arguments.
 
+//go:build !s390x
 // +build !s390x
 
 package math_test
index 0afc10d727ecd11e122cca61d6bd9d769bfd8572..7950e09fd7c3f2b7a99a1e093b831c2d154e96ce 100644 (file)
@@ -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
 
 // This program computes the value of rngCooked in rng.go,
index 3a2500284214bad6a8a24e3b2257253b73d3b7e0..851d5a0fb027289461a305be86cb811a3342ef6d 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris
 
 package mime
index 7c0dfe261c4c15486a7e144b07a381353b7677e0..ae93c595afafe6955868a63cca6b0b3583cb268b 100644 (file)
@@ -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
 
 // Minimal RFC 6724 address selection.
index d6e0e63c3b590c0dbef100df972853dfa76376f7..dc13917018b23d0241ccb0adb02aa863437c7d6b 100644 (file)
@@ -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 net
index d0ad414a32b3529d8db5e1abec58660e9a9d45ce..a94405ecc049698e9ec5c57a5ac5c3836c44180b 100644 (file)
@@ -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 cgo && !netgo
 // +build cgo,!netgo
 
 package net
index ab0368d14b5dba8424f2dc876c853de199b45501..4b1a2e3e1d44bdcd737708b58ef15bac41125b98 100644 (file)
@@ -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 cgo && !netgo
 // +build cgo,!netgo
 
 package net
index a923c556d31b187a4554b1f5ca128299838b087d..23be72140b694b0d01f6f819ab709b27b38449e3 100644 (file)
@@ -2,7 +2,9 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build cgo,!netgo
+//go:build cgo && !netgo && (darwin || dragonfly || freebsd)
+// +build cgo
+// +build !netgo
 // +build darwin dragonfly freebsd
 
 package net
index 86d8f4dc1e506328c103d1d134d3e83b778288cb..1bd6be93f7891c2a632a23260a0092cd2962ebb9 100644 (file)
@@ -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 !android && cgo && !netgo
 // +build !android,cgo,!netgo
 
 package net
index 4610246561ef1f490c35a9a6672db0734f791346..3714793a52f3c5373f5346f56dd4b06f9d2e74da 100644 (file)
@@ -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 cgo && !netgo
 // +build cgo,!netgo
 
 package net
index 4610246561ef1f490c35a9a6672db0734f791346..3714793a52f3c5373f5346f56dd4b06f9d2e74da 100644 (file)
@@ -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 cgo && !netgo
 // +build cgo,!netgo
 
 package net
index 3e3e77e17d3313c773d363fd248e877ded87e6a1..154405270f17287c6bd3c801cd5f662f8d680bec 100644 (file)
@@ -2,7 +2,9 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build cgo,!netgo
+//go:build cgo && !netgo && (darwin || (linux && !android) || netbsd || solaris)
+// +build cgo
+// +build !netgo
 // +build darwin linux,!android netbsd solaris
 
 package net
index abd04a814d4037c2598bd818bfd2e0aac5425830..c4aab33eaa05700bba9e812889220a2df294e841 100644 (file)
@@ -2,7 +2,9 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build cgo,!netgo
+//go:build cgo && !netgo && (android || freebsd || dragonfly || openbsd)
+// +build cgo
+// +build !netgo
 // +build android freebsd dragonfly openbsd
 
 package net
index 3b13926107ac7c141b09cd3af12367be5582f346..f9cfad9909cce8c857459f90042b6851d32ec07a 100644 (file)
@@ -2,7 +2,9 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build cgo,!netgo
+//go:build cgo && !netgo && (android || linux || solaris)
+// +build cgo
+// +build !netgo
 // +build android linux solaris
 
 package net
index e1e642bb41b77e4bdad13dea910e45911e810735..22c67252f55cece64f33b751dc4249337a292362 100644 (file)
@@ -2,7 +2,9 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build cgo,!netgo
+//go:build cgo && !netgo && (aix || darwin || dragonfly || freebsd || netbsd || openbsd)
+// +build cgo
+// +build !netgo
 // +build aix darwin dragonfly freebsd netbsd openbsd
 
 package net
index 25c0721242f10f3a9e95ca6e2bf24a74b21f732c..a84f5b0d34c1472e947bf7632917c8758c47e7f0 100644 (file)
@@ -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 cgo && !netgo
 // +build cgo,!netgo
 
 package net
index 041f8af12966a4363c3c4822061f7b956e478b40..039e4be88b908a257dd426daba8d6616a1d39421 100644 (file)
@@ -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 !cgo || netgo
 // +build !cgo netgo
 
 package net
index 69c99fe7dbbc6f50435a19364016568f4e0b861d..2ea86e074fb9436fa55f9a6884a828b4cd16ad24 100644 (file)
@@ -2,7 +2,9 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build cgo,!netgo
+//go:build cgo && !netgo && (aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris)
+// +build cgo
+// +build !netgo
 // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
 
 package net
index 99d79a60c46bcd633623a5ed4ec92c739fb44420..1f3d9ea207ae93273aa584eaa62906c95ea9b69d 100644 (file)
@@ -2,7 +2,9 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build cgo,!netgo
+//go:build cgo && !netgo && (aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris)
+// +build cgo
+// +build !netgo
 // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
 
 package net
index 8968b757a905791724b898af09b3a89cf2bdbe49..1fd1f29787c8601a4875143da36d5e91fdbb21cc 100644 (file)
@@ -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 cgo && !netgo
 // +build cgo,!netgo
 
 package net
index f1bbfedad06cb5ba749e2b47ef60f9ceecab196b..6b9569cd92f7f78c9ade438119ef0a17157c7a15 100644 (file)
@@ -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 net
index db4c703b067564f853063dc503656791037d47ec..8f387ebc03e5cfbe681be0cd1752895a8454de09 100644 (file)
@@ -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 netcgo
 // +build netcgo
 
 package net
index 1fe3cf41b1e28c9a0f948165c9e6ccb2971a14f6..b1f2c55ea50909bba28834121a2eb7fae32cd3de 100644 (file)
@@ -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 net
index 771cabcd3cd331d34e1958fdb05cb8b33952d596..45e271c264267ae10f1ed58bc2d40f1d04c8fa3a 100644 (file)
@@ -5,6 +5,7 @@
 // This file implements API tests across platforms and will never have a build
 // tag.
 
+//go:build !js
 // +build !js
 
 package net
index 57cf5554ad2c69e980ec3f46b8614de16e8e3e68..394bdb047e7fffc8c6bcefde09a6cec66f15c32b 100644 (file)
@@ -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 !js
 // +build !js
 
 package net
index 3cfc9d81b8e82771be769fc2265db9fe6647bfa4..108b973099715c96dfb7d8e1b4f4e6a08d57f575 100644 (file)
@@ -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 net
index d7db0c8133ebc814eb2ed4d7c4a002b0e49eaa97..a3242ff3b2b9e1d18654cdea9784bf5f4347d94a 100644 (file)
@@ -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
 
 // DNS client: see RFC 1035.
index 0530c92c2e83b1f8cdacde25b7cfa6c858f0ab61..b47b83af15c98046f78d0e6dad45c3e4f99a1c69 100644 (file)
@@ -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 net
index 877e77c0493d263658aa992e7054042e0e388753..db9213a13fd3e95fb6f37226dc748df22920bdf4 100644 (file)
@@ -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
 
 // Read system DNS config from /etc/resolv.conf
index 0d7897a813c8232ec29f5a114491cc45380dd964..0e2317c46912f43fb55aabdd0c6b929db212f0a4 100644 (file)
@@ -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 net
index 2964982311ce4b306494f26216168a45c0fe4859..d851bf75667d3a6c6c00f75a8220ab67b8ea08d0 100644 (file)
@@ -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 !js
 // +build !js
 
 package net
index d709a273b73cf2d10f46b3c0474303917b3b73c3..50eb66fc61740e2362313ffb1fef001f8e4ef5d7 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris || windows
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris windows
 
 package net
index b411a378dfc70045e02d001aea4a57e886ce72a9..ea52a45ee89db67def805df8be4b21f3e9d57a97 100644 (file)
@@ -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 !plan9
 // +build !plan9
 
 package net
index 556eb8c8d47c9630c402e2da1f16c74855f30fb0..c304390819a915331276a62c68760ec986d57b8d 100644 (file)
@@ -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 !js
 // +build !js
 
 package net
index e6153303882fe0c714366bc75d4fcf03dbacf52f..d0b5e2ce96905e2ca39e2662fb130b0e66166002 100644 (file)
@@ -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 || js || linux || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd js linux netbsd openbsd solaris
 
 package net
index 9ce9e12c5ecd0970bff09391ebadb64a97eebe5d..533a45e648f11803f10f51095954975e286f1c4b 100644 (file)
@@ -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 !plan9 && !windows
 // +build !plan9,!windows
 
 package net
index f3c69c407f7c1e3f4315d091dd6c602a0c487334..b8753cc092bf1b9d322db63db93addba66022be6 100644 (file)
@@ -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 !js
 // +build !js
 
 package net
index 53abd152c7c9cb70a07a9fd32ff5f95d67f34b07..2945e46a4890ab513ed9d27e43983da068dfbd6f 100644 (file)
@@ -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 || windows
 // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris windows
 
 package net
index 1c9bba3b197b477aa0e37097d932e925a6363e94..a7bbdd26b458403a849fe1b39206680c38f333af 100644 (file)
@@ -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 net
index bfb8100f53cf068583b23703c4204b40aa89ad51..9f988fe89936179a3f177e266d15f2afd38f4219 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package net
index 8c09c0da1bd93ec9818227cdc32bab46c7cf061f..a70ef1b312ff127eb8d4c430c5aa07d3bdb1933a 100644 (file)
@@ -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 !js
 // +build !js
 
 package net
index dba69554ca79f4e224c8bcaf3b067123419242d1..4520d4b839ed60d81c48e00e9e37f29175e140be 100644 (file)
@@ -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 net
index a28f1e066dad4727b7ae3dc13c96eb502de98a03..b9153d1947f98ccf0646135ba6fd7781ba8ae65a 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris
 
 package net
index cc20fe03e4eab6a6daba1d75e6f87d58cfbdc496..f998bac6ea654cdc582e26caa579b057c9f14c40 100644 (file)
@@ -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 plan9
 // +build plan9
 
 package cgi
index 9396ce036afdcf06fe1ce772fb0979fbee380908..bc58ea94cc93b782f1c7efc17e073902cf471e4e 100644 (file)
@@ -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 !plan9
 // +build !plan9
 
 package cgi
index 6bef310febfc5e51f64035a2e262d0adfa661dd6..0379848e708ab9abfa42b13cd4736c6a6b6913b7 100644 (file)
@@ -1,3 +1,4 @@
+//go:build !nethttpomithttp2
 // +build !nethttpomithttp2
 
 // Code generated by golang.org/x/tools/cmd/bundle. DO NOT EDIT.
index 30c6e48cfcb12bb09016ce4a789ea07efa71b0ff..79599d006aaf94dc1537c6024d200de2b6d0c961 100644 (file)
@@ -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 nethttpomithttp2
 // +build nethttpomithttp2
 
 package http
index 2ec736bfb1975377d38e88c0a0c9ae4041f2ec10..eef7c79293e643e08677e24ba9d5c1e2fb769ffc 100644 (file)
@@ -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 !js || !wasm
 // +build !js !wasm
 
 package http
index c6a221ac628be63665fc6d9d5a9303ba60082759..74c83a9172cab2524156d097394fb1fe5f1ef202 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package http
index 23e65d56e86f5ae83633620a879250d52a57f6bd..4dc62407c6d5ecef2049db623b31c5db4d21df8f 100644 (file)
@@ -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
 
 package main
index d791cb30167943cc9355cb08635ad9a99efd58fe..7578b1a16a91a90baabeef015e2f84d18fe14fb3 100644 (file)
@@ -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 net
index 947dde71e61b2935c062a0366bb5d1a73672a6a5..8d0d9c367198d0abd5ba602c4209c6b0988c55ee 100644 (file)
@@ -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 net
index a809b5f5ce49e6cf31e07cea02ab3fe34e6b7736..6230e0bfeec1d56a117c107beb69e9db7861d61b 100644 (file)
@@ -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 || netbsd || openbsd
 // +build dragonfly netbsd openbsd
 
 package net
index ec58665e195db4834a1061f906f7d4a7be893b44..efe67c24d3cde8d219488dcb3500471245a9a0b2 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package net
index b2ef21e8ac24482f3d59608539f52e544b8eaaa8..754db36e3c44306edfa986165478611b574b3905 100644 (file)
@@ -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 !js
 // +build !js
 
 package net
index bf41a0fb82de3a8b98ba6610f8550b1d0c5382f5..0d69fa5da4127d2f9c863ec597db31ee8bdfcfa4 100644 (file)
@@ -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
 // +build darwin dragonfly freebsd linux netbsd openbsd
 
 package net
index 3b0a48aef4d986f9ea6ce0ac76c83f0ff70c970c..8af85d382eb0935cbb606e9c6869a5b7354b69c8 100644 (file)
@@ -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 !js && !plan9
 // +build !js,!plan9
 
 package socktest_test
index 4d9d4143564864ce1b90ad42503f112f23cc5cda..6aa8875b66cf6c1cee258401128c733ee49d4c66 100644 (file)
@@ -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 !js && !plan9 && !windows
 // +build !js,!plan9,!windows
 
 package socktest_test
index 863edef0d35595e53407afbdfc0d55e37319342c..cda74e8639986909c9a3bf740a825e547f12ba35 100644 (file)
@@ -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 !plan9
 // +build !plan9
 
 package socktest
index 28ce72cb855a6e1769326cee1b56d585439dd23c..5aa2ecec08fd31ad596e475345c0befa72fc8721 100644 (file)
@@ -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 plan9
 // +build plan9
 
 package socktest
index 7dc35184105bb672262437c3a3363dec1fb8e802..bfe9d4dbd3622927e8fa330219baa6404f007996 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris
 
 package socktest
index 421352c7b47624953c61164795c876c12839d326..c7f8331c2e52765321579b6d17a052cc7b3c3e97 100644 (file)
@@ -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 || illumos || linux || netbsd || openbsd
 // +build dragonfly freebsd illumos linux netbsd openbsd
 
 package socktest
index 0525512bff9534b9d4f422280b4f371982ac507b..e7cc45922e09d1c6815c15cad54ee66673f08070 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris
 
 package socktest
index a5fc5e644a2b2717ab16b1005c586be8bb65d2d6..1e09ae9db44df750cdec0f81597a750e85d697f6 100644 (file)
@@ -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 !js
 // +build !js
 
 package net
index e653f6ae17b08dd30789235b3ed2dd188ec1e1f5..c1514f1698c5a8363423be4a7fa409c3d45ad5fc 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris || windows
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris windows
 
 package net
index 8e3543dfc7fd71c733e1d674d1d0e53d1d9ed835..a96448ee6c656817f1a16e5ff6fd27ca774048fa 100644 (file)
@@ -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 !js
 // +build !js
 
 package net
index 8763d579fb18b47c90059cd8f79850338b6cc6cb..8d8a896501c07aeec46a155ef5714ff3f87de210 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris || windows
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris windows
 
 package net
index d8c72096ed16514fc415f9ba15905fc2439a25de..b1dce29ac209a91e45436583ef3ffa2788e39378 100644 (file)
@@ -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 !js && !plan9
 // +build !js,!plan9
 
 package net
index 3b3c39bc7dacf799ed32c42e5ca6a8d547bec6d6..f4fcaed5cfa1c78d9ca3b80d81926b20074de7dd 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package net
index 32a0d377da3ed4b13b9a93c276eec625d9ee3436..3faaf007106b7c7327f1eb194dfc8d944f8b53d4 100644 (file)
@@ -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 !js
 // +build !js
 
 package net
index 9055826d405c62ef473906ced63de8cb3d3107c8..c09afb300f56504da8ef3bb00ad7283f196713b7 100644 (file)
@@ -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 net
index 46b9ba5008a77132f573cc522bb6cf4fae40b8ce..742be2fcd81eef81e3300193e4d037a22897f5b3 100644 (file)
@@ -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 || illumos || linux || netbsd || openbsd
 // +build dragonfly freebsd illumos linux netbsd openbsd
 
 package net
index a92dff56c2aae15360b3c337e0e1a3442eeb58cf..645b267b78090835050a56c68e768759239b0f5f 100644 (file)
@@ -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 !js && !plan9 && !windows
 // +build !js,!plan9,!windows
 
 package net
index bac84aa3002ab184272bd80a60efe746ad46b6b8..bcea630cd3c4ccb037b4d19582c927892d13a825 100644 (file)
@@ -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 (js && wasm) || plan9 || windows
 // +build js,wasm plan9 windows
 
 package net
index f2484f306db91dce5a64855f0c14494b2bf08b88..c9ab25a4ad572ebb8e663fbf6bfe1d2c18999802 100644 (file)
@@ -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 !js && !plan9
 // +build !js,!plan9
 
 package net
index 2d5be2ee5f81c1b634b84b0ce002306252e3d5e5..dc17d3fbb84d1547879afa575352561299aa510e 100644 (file)
@@ -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 !js
 // +build !js
 
 package net
index 8b9897699c5cc78ce077fc3fbb2a798114f83306..c8cff2d305aa9998395a6641db90c359bf187b0a 100644 (file)
@@ -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 net
index 867e31e9ae6a55823a237f89fc5335594d085ca4..b50a1e59a1a9239b7da034fe38f6b1619e88ea95 100644 (file)
@@ -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 !js
 // +build !js
 
 package net
index 0c48dd5c03bb47ead18b5571a1c635865ca83dd4..49dc57c6ffeb55ea51576e7980499c2f4445cf6f 100644 (file)
@@ -4,6 +4,7 @@
 
 // Fake networking for js/wasm. It is intended to allow tests of other package to pass.
 
+//go:build js && wasm
 // +build js,wasm
 
 package net
index 409e1400af96c8f10727dcb6e88ff2f62ff2ed7d..6d6299e74ad6e5570ed2a85fcab606179a8c99f6 100644 (file)
@@ -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 !js
 // +build !js
 
 package net
index c672d3e8ebfbedf3760a7af20ceb456f5669f998..0dfd6c2cd7f31268a5f741914a24f2a74a4ce24f 100644 (file)
@@ -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 (!cgo || netgo) && (darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris)
 // +build !cgo netgo
 // +build darwin dragonfly freebsd linux netbsd openbsd solaris
 
index 96b9cdd12106e95fd461292ba28d88551d070ac5..85177cab9b92da2cbd26aeff0959180c8df34252 100644 (file)
@@ -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 net
index 371deb502d10d01dae12bc711f48d5cb9a1a4690..4b73886c5119c453f953b43d830713cd11facff2 100644 (file)
@@ -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 net
index a377d333d6afe312e66d32c9c6d506baecbc9927..aeb9845fa77b8fc12828c797908910b673bfe9dc 100644 (file)
@@ -5,6 +5,7 @@
 // This file implements API tests across platforms and will never have a build
 // tag.
 
+//go:build !js
 // +build !js
 
 package net
index 4fdd9a37bc673333fae20ebc85f9ce6d6a254faf..a9a96a2323b80d0a104e3de0dc132a08d3450c7a 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris
 
 // Read system port mappings from /etc/services
index 6f83f526812f80f080d009cc55547d0d27a5150b..fc9b3862563e9a2c0cef4a76eee225eb281848dc 100644 (file)
@@ -5,6 +5,7 @@
 // This file implements API tests across platforms and will never have a build
 // tag.
 
+//go:build !js
 // +build !js
 
 package net
index cec977f75d9e2764124e7a2e5126eb91e2f0cb9a..975aa8d9569162ff52f750d58f648e0f6f77502a 100644 (file)
@@ -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 (js && wasm) || plan9
 // +build js,wasm plan9
 
 package net
index a08ff89d1af8d9690c376e34ba3bd4bcac498670..3ef7af33b7330e307d31d61f1bf2fc330ef72369 100644 (file)
@@ -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 !js
 // +build !js
 
 package net
index 0194ba67c8ea852e464cc03de55c7c071293ba0e..75bbab8b27eeb4dbd19086b3ecdf252548bd7683 100644 (file)
@@ -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 net
index 53bc53af43b09caeb8f198acaf6294e7a1ab15f4..5753bc02898742181c55fd7979f17ef6ed2422d5 100644 (file)
@@ -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 || (js && wasm) || netbsd || openbsd
 // +build aix darwin js,wasm netbsd openbsd
 
 package net
index d6057fd83912872791a2284f8f5d026b1a17fb81..db72daa32860afb6a498649f3def129965608198 100644 (file)
@@ -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 !js
 // +build !js
 
 package net
index 8cededce58d7fea97274bac397277f52c4f93b20..54667d672f87b405e2c599999664ce193fe575ff 100644 (file)
@@ -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 || solaris
 // +build dragonfly freebsd solaris
 
 package net
index 4ac5443e6a130c5cb251bc799c382cbc825eaa7b..8d4db7233d128833a1ae02313a8ffed325c8b3e7 100644 (file)
@@ -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 !js
 // +build !js
 
 package net
index 73fb6be814eb8acfcdf20599a516703fae9d2ea7..4c883ada78f91ef2d9dcd16e9641d664ce6125d4 100644 (file)
@@ -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 net
index 5f345f0f4a5597326eaeba702fed073419f9334e..efc91fdb53022aa1b0746004ce529c1b7455b052 100644 (file)
@@ -5,6 +5,7 @@
 // This file implements sysSocket and accept for platforms that
 // provide a fast path for setting SetNonblock and CloseOnExec.
 
+//go:build dragonfly || freebsd || illumos || linux || netbsd || openbsd
 // +build dragonfly freebsd illumos linux netbsd openbsd
 
 package net
index 80b4169ec64e77ea9f49c2e6c3723916055b1ddb..9b1e7880aed4494b947ba57e1a76b92054f80da0 100644 (file)
@@ -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 || windows
 // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris windows
 
 package net
index c9f86af4e7c5c029bd28c5dace0c9640acc50a4f..d804bfaacce3a0edbca43a53213f7ed952a45050 100644 (file)
@@ -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 || (js && wasm) || solaris
 // +build aix js,wasm solaris
 
 package net
index a3710dd3f749f0995b78a5b33437353b806976cc..9d77cb569b938ebe3a22b87f935cda3f4a8044cd 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris || windows
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris windows
 
 package net
index 8fd1e882c62d9e7971d367b6b493c0f400155f88..216e5d52f12a41baa037a5512c3b2aac848bdc34 100644 (file)
@@ -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 net
index de7255667f751b822105a5dfa4a6adde6114a4b0..50b9bfa0a78ea5da5b0a920f3397fdc0dc5a3567 100644 (file)
@@ -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 || windows
 // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris windows
 
 package net
index 52624a35d81b891c40547f7eef4c4e731f4a579a..99b5277ed0a874c098ed936633f44d8dc4cad436 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package net
index 20a6dc95497743e8fffce20502f4fbe4731f2e4a..56022fd1a59e37ba7a00292b7488d5e8ebe6b940 100644 (file)
@@ -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 || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd netbsd openbsd solaris
 
 package net
index b14963ff32eec841544d528193cd2128cf154808..a2143aec2cba6787b9ed486d4e811a6f1994408f 100644 (file)
@@ -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 || windows
 // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris windows
 
 package net
index 57cd2890405c04c552897fed2779f4b2a637fcb7..4175922cec5f6f7d013626c3a28a928d979a2d7f 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package net
index 9106cb2c18c6844beb25f4bc4bbffadd0ba78182..ce2e9046a9440f9506c808fdb9934bc42ffd2944 100644 (file)
@@ -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 net
index 8a0cda65644565a05dc4f6c6271130d7b75c742c..be13cc924d04f50536e75ec4ea075d55e7ad920d 100644 (file)
@@ -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 net
index 967b8bea9dd805f95250de4d84ed0ba4da16c8f9..4d7112051ff25cf5bfd4075d83b2885e3f5c04e6 100644 (file)
@@ -5,6 +5,7 @@
 // This file implements sysSocket and accept for platforms that do not
 // provide a fast path for setting SetNonblock and CloseOnExec.
 
+//go:build aix || darwin || (solaris && !illumos)
 // +build aix darwin solaris,!illumos
 
 package net
index 257c11976f46b34399204c9ac4445eadc2a1405e..7c4523c5eea8ec6352728cc70cf9907728e716c7 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris || windows
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris windows
 
 package net
index d6172bc5030996f9ba7b5e75cfc33bc155705518..9c9f1eae93d832e7f295badc182abe00368697a2 100644 (file)
@@ -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 !js
 // +build !js
 
 package net
index 2bd591b5944f227b841dd609477bb1026d7b7dd5..41bd229132d912883a18aefb1b24b6b56d2e59a2 100644 (file)
@@ -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 !js && !plan9 && !windows
 // +build !js,!plan9,!windows
 
 package net
index 5e00ba15647f2d649338adb5c75ac56decf13b35..d08832adc04c98b0f8a772ad906dcc42ae193c8e 100644 (file)
@@ -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 || windows
 // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris windows
 
 package net
index d043da123d6e81a78e6afe7ca51753ff46365c8c..028d5fd29cff8ebda730b1e9eb7bf46c72fd2430 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package net
index fb0ecb8dc7428fc132a979be9de9d0389405c92a..a945889e00e86f9cef70d2e1d356123a87ab6f64 100644 (file)
@@ -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 || freebsd || linux || netbsd
 // +build aix freebsd linux netbsd
 
 package net
index 205aaa430ba812a885ac531fa1dc19d0adea7448..e1cf1467c36f00aca3bf254d9c0676a91398a173 100644 (file)
@@ -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 !js
 // +build !js
 
 package net
index bbfa4ed9c73afa8881e62c2441696876fb6077da..58c69f18ad5d77bfb03b6a5b85091af8071d0b88 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris || windows
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris windows
 
 package net
index 327eba65412d9b9770da9b40330264bfa8d38eb4..7a1ed4eb18365881f6c76ecbbe00c568ddf1d854 100644 (file)
@@ -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 !js
 // +build !js
 
 package net
index 275c7c936d11c684fe43ec3f2db9a22422e58106..1d1f27449f56cf8aab903df94f7259b0aaff7f7c 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris || windows
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris windows
 
 package net
index 0b13bf655f3de092e58ac1b1059c778a8e894b67..71092e88fb600f98f0b1f642d7e121475d0985f6 100644 (file)
@@ -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 !js && !plan9 && !windows
 // +build !js,!plan9,!windows
 
 package net
index 5dccc1465334ce2e4cd2cf092c2b0ceada6aae2f..29244f64710337f97c79068fe0c965da2d388211 100644 (file)
@@ -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 windows
 // +build windows
 
 package net
index 6d8cb6a6f81666443e4fba43484573401f519e68..f79f2d0865d559ebb358430d32956ea65e95d858 100644 (file)
@@ -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 net
index d603b7f70a660917441c440306d0da227edae3b4..bf40ca2023ac9e52902bf8514194a8c2852db0d1 100644 (file)
@@ -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 !js
 // +build !js
 
 package net
index 8b20f42b34de630c36c1f88c53ee1845cbd84bbb..a0fedc2f99061df9424f712d55be2d65ec4c4bf9 100644 (file)
@@ -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 || illumos || linux || netbsd || openbsd
 // +build darwin dragonfly freebsd illumos linux netbsd openbsd
 
 package net
index 0e1eab1c965ee5c7eea49f6e6133c18a752a4357..ef5c00aee0833cd913d1bdbd86e3ff0dbaf4794e 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris
 // +build aix dragonfly freebsd js,wasm linux netbsd openbsd solaris
 
 package os
index c98f1247822c3f7a657a6327e6925a1a92519d93..0529dccd6f214325541430ab168839f6b45d1f43 100644 (file)
@@ -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 || s390x || mips || mips64
 // +build ppc64 s390x mips mips64
 
 package os
index 3efc5e0d8d43b959d280e197f291b7ea058cd4c0..6be6020f534229330d7a5e8d8517503279c7335e 100644 (file)
@@ -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 || arm || arm64 || ppc64le || mips64le || mipsle || riscv64 || wasm
 // +build 386 amd64 arm arm64 ppc64le mips64le mipsle riscv64 wasm
 
 package os
index 89430b3e2040989d4512ed5635b4f04a724963e0..d45e1deb833897b52ca82c0fac8e90426c1f5808 100644 (file)
@@ -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 os_test
index 31ae05a21e8dce4b7d7fdac5bb520c730b717f10..580e915b73c3db1cf7a33005b143fee58f9ba62e 100644 (file)
@@ -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 !plan9
 // +build !plan9
 
 package os
index 2aeca8230439e217ac304c8c526ad10675a1b0cf..268b3a923ab1abc03563f18f7688b2d0042980b0 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris || windows
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris windows
 
 package os
index 18bcf3f4e4405ddd5df70df55cc63afe1a6016ae..e45282a0fdb4778a934e5a0fd4c57ab89c09728d 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris
 
 package os_test
index b8191c5ebc8f51b3db6d20eb7116b6bfe7286d29..aa0c14b7d46e36b295497ab1164ad3a7e2ab8729 100644 (file)
@@ -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 windows
 // +build windows
 
 package os_test
index 6f850204d6067f8b1501889b1f7095796b623ad1..3cfa30ee72477ee3c89fa096656138ebe860834f 100644 (file)
@@ -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 && cgo
 // +build linux,cgo
 
 // On systems that use glibc, calling malloc can create a new arena,
index d4d67ac9336825ac2588dea9aec47cb870483051..7b2c0c0c111b35edcb2c7639e6cd0a250db752bb 100644 (file)
@@ -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 exec_test
index 51c52427c2b418c7e88e3cf14dd188d5dabb817b..467c069e1ca48cb7fca9ea887d293cc210d44c1e 100644 (file)
@@ -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 !plan9 && !windows
 // +build !plan9,!windows
 
 package exec
index 6750fb99b0f6a0053d9cbe33d3e2f5ba1d21b99e..4eac25fe6f402177eb596ff6fe5637f57ef0cd3a 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package exec
index 66c1df76fb9089ab2e170927ed4c3f7a8bf4b1e4..d1d246accf18b4c3379f198295be295e70428338 100644 (file)
@@ -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 exec
index 296480fd041f36fe157ddd1ed32bd368d82e1666..75bcdb1fdd95a08ba98acb86292bab16f921ff8d 100644 (file)
@@ -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 exec
index 8cc24da8cb41ce57fe9689833f09eba231ad7e33..a8c71831d8806e8e126162130ff118f5c1dd85b4 100644 (file)
@@ -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
 
 // This is a test program that verifies that it can read from
index 8aa1e5e49996fdd1097121341db4a234c29d28ef..443d4e0218b41cd8251b6a9a14043fe7d9444763 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris || windows
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris windows
 
 package os
index a1703a1259488161ab5c0f6640a350c178934c2d..d1bbeb752987c597f40d9f03caf83860ededc304 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris
 
 package os
index d942cdb5e53f08e259334416a08602db96f4299f..f14b3519fbe759864fe6b824fd201f69b20b824c 100644 (file)
@@ -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 os_test
index 7b8b83652c8953fc4f19ef12568d3aff7f3d86f2..625430ecfca1e53cb9af7fcc1c501eef286abcea 100644 (file)
@@ -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 || openbsd
 // +build aix openbsd
 
 package os
index a5947eaae1ed66ee9bc3a8706a81fc998377bded..105c03f0c1a6bd192c3c81876bff41b646e95795 100644 (file)
@@ -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 plan9
 // +build plan9
 
 package os
index 5ee41a4b2e28f6dc4579e09ad7a4558257bbdca8..9c64a0d4747f692d74824974e97903b2783b7b04 100644 (file)
@@ -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 || netbsd || (js && wasm)
 // +build linux netbsd js,wasm
 
 package os
index f9a4b18f609ca2c2b3954d624024858018816a3a..039448b5573a920b97a8f68f17e293cd41273aec 100644 (file)
@@ -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 || dragonfly
 // +build freebsd dragonfly
 
 package os
index 39866a68deb8d33db0f4e74b9b6bbeb6a045bd72..10f8312831792c637f52b822c08b95ea541b304d 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris
 
 package os
index 2439192a9dde3a169f730b1dfe5c862c61850114..c3607344ec5705a76fc845119efab58566c1c63e 100644 (file)
@@ -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
 // +build darwin dragonfly freebsd linux netbsd openbsd
 
 package os_test
index 795c547856adb9e3e8215f0175fbaf2ce59abdca..211f2a1798aba3fbe87a285d3b30d2f04f051fda 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris || windows
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris windows
 
 package os
index f88450018ee3c0e76d9534093357f8a09e651823..e8b286c9ee8aff35ba95441c469d16603fa93918 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris
 
 package os
index 51693fd82a1d930b5dd33fb57bd294c4202e2ccb..9b4c0ab290bc072a73df89696b1f1c4d05c3ff29 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris
 
 package os_test
index c99a8240c531b2a1fa0a127b9ad409e7c04df08a..db383594920e97db5f3342d53c9b335d2a218dde 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris
 
 package os
index 0ef894b476bed9386dbdc837042b3c4b869b3bd7..0af80195256d59d3330796ed22400a469d57159e 100644 (file)
@@ -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 || openbsd
 // +build freebsd netbsd openbsd
 
 package os
index 026ce62b9a642c67c5b15720b541851fdd623ed9..71b8cb8e25be5706532908826dfb25d5e6b768ed 100644 (file)
@@ -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 illumos
 // +build illumos
 
 package os
index 115d6baa190a272123d3573cca6a66464c686181..57959a2ea43b756c14fff7e425cf2ef8c230b6ca 100644 (file)
@@ -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 || (js && wasm) || (solaris && !illumos)
 // +build aix darwin dragonfly js,wasm solaris,!illumos
 
 package os
index b98e53845c67ab36a50d7fe13e8357cda93ecf77..b6636185029c5f24a3353c41976843fdd6c110c4 100644 (file)
@@ -3,6 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // Test broken pipes on Unix systems.
+//go:build !plan9 && !js
 // +build !plan9,!js
 
 package os_test
index 9e11cda8c9aa9bdb5ab77e7805c67173a32d29b5..ffc598b0618987c1a9c5928c7de6896e11df63eb 100644 (file)
@@ -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 !plan9
 // +build !plan9
 
 package os
index 2554f5b087846b1c72e3153cb8bceaae2231716d..8aebaf87a60760623531ffc402e12f0feeba3ab2 100644 (file)
@@ -3,6 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // Test use of raw connections.
+//go:build !plan9 && !js
 // +build !plan9,!js
 
 package os_test
index 65429d0cab24341d673a7a1550abc9be0a37cac9..826760f3df65cc290470e171032e16a62c57b013 100644 (file)
@@ -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 os
index c1a1b726aff5d992612d9cb09e61a1c47205c8d8..d04540bc63eb2ca8918021ae7faa854240b68f5d 100644 (file)
@@ -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 os
index 7c888baaa99049ad75efda35749aaba36b4c27df..853e0eddfc8920478d2fd3f2f5735d845c88186b 100644 (file)
@@ -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 os
index a0af37a5bb3196ed9a7a87d32f370313665e53f4..3f7795b8cf9558dfb4a1b0b573ae1eaee21cbc11 100644 (file)
@@ -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 signal_test
index f8813ce6becd019f5b2aa3b3c776808915bac9e7..8d2eac71035f2274f6e4df918c14c3745a539dd8 100644 (file)
@@ -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 && !android) || netbsd || openbsd) && cgo
 // +build aix darwin dragonfly freebsd linux,!android netbsd openbsd
 // +build cgo
 
index a8a485613f584fb773dc7f3d74a27de66260f450..e1e4509e2a723b9ae4df542a485703a7fde79b82 100644 (file)
@@ -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 && !android) || netbsd || openbsd) && cgo
 // +build darwin dragonfly freebsd linux,!android netbsd openbsd
 // +build cgo
 
index 2e553d0b0f0c763427e8dbd6e72d74f6e8cd3a32..7abe1ec5a0a5954464b92dc79cb497bc6feeec04 100644 (file)
@@ -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 signal
index bbc68af9fbdf4d60a663ec420d87098500bfd6a9..292d24c6f1a964f8f854fa33c72885c99425690d 100644 (file)
@@ -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 signal
index 90a1eca156fad726a5ddc0aef70560d2b0eda0fc..9e241c43acef2c7137898f082a160ccdba50a608 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris || windows
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris windows
 
 package signal
index 8d20ccddfcc43c282583bb10b541b9cd4528619f..3badf5ba575b24de3a77895dcee9e21a6e9ffc10 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package os
index 66c356fc620c108738eeb6020207af4149d5202e..8c17805f71fc30622d193fbdf5dcfe0bbfb5e308 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris
 
 package os
index c09b1ac202889a2f86416dcee0b9f92165faf9a2..ab23d8111d3b4e8bf8f2df3e21b84b59f9f87707 100644 (file)
@@ -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 || (js && wasm) || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd js,wasm netbsd openbsd solaris
 
 package os
index c15850692cd75470888bde254afbe5268e674617..9979b43e8e69d011470c91da9e4521cfbe7fe9f5 100644 (file)
@@ -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 && (!js || !wasm) && !netbsd && !openbsd && !solaris
 // +build !aix
 // +build !darwin
 // +build !dragonfly
index b1698f5d4c763cb84ef0758e2baceaa7799fa590..1e245eb53a2d947f2b0d48252a59099c5e947fcc 100644 (file)
@@ -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 || (js && wasm) || netbsd || openbsd
 // +build darwin dragonfly freebsd js,wasm netbsd openbsd
 
 package os
index e860654f81204fbc54221282c43a044d4e11c3fe..4d6a64e8ebeaec86baadf818747eab59e825b504 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package os
index 8491bad2421ae8e403ae28a27420e52009796fa3..e316eaf06c4f768920bffc582e647d7d7e546f4d 100644 (file)
@@ -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 os
index 0a39f463336a128d889bbdd70661ac5209cf38b9..6d65e420f044ef5df3f606fb3b1aab93fbd57348 100644 (file)
@@ -2,9 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build !js
-// +build !plan9
-// +build !windows
+//go:build !js && !plan9 && !windows
+// +build !js,!plan9,!windows
 
 package os_test
 
index c0259ae0e8411f791fadfd3a57ed3f6d9c44620b..e9b8b8ba3ac7af2de64026385ee26881f21d8277 100644 (file)
@@ -2,8 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build !windows
-// +build !plan9
+//go:build !windows && !plan9
+// +build !windows,!plan9
 
 package os
 
index 3307f790eacbbb02e1995da97ae4d33a0eb265f7..abc9e9ce6d617d8c79e58b20c4774424eccde2a2 100644 (file)
@@ -2,8 +2,10 @@
 // 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 || (!android && linux) || netbsd || openbsd || solaris) && cgo && !osusergo
 // +build aix darwin dragonfly freebsd !android,linux netbsd openbsd solaris
-// +build cgo,!osusergo
+// +build cgo
+// +build !osusergo
 
 package user
 
index 1d341aa427d4cb42aa794efbf09a844e4003a041..9ec32b3a7889694953d795b8c811fd5500478970 100644 (file)
@@ -2,8 +2,10 @@
 // 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 || (!android && linux) || netbsd || openbsd || solaris) && cgo && !osusergo
 // +build darwin dragonfly freebsd !android,linux netbsd openbsd solaris
-// +build cgo,!osusergo
+// +build cgo
+// +build !osusergo
 
 package user
 
index e8fe26c47fa946180580a1240f4227bdd8f779f7..23d12e3247624e94e73f3aba3650f989be4b0f6b 100644 (file)
@@ -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 cgo && !osusergo
 // +build cgo,!osusergo
 
 package user
index 9685414fc0221d8b686ac4dc845b541dc474ba4a..8393c5a474c24ce58eb1c612fc05701dd69155ac 100644 (file)
@@ -2,8 +2,10 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+//go:build (dragonfly || freebsd || (!android && linux) || netbsd || openbsd) && cgo && !osusergo
 // +build dragonfly freebsd !android,linux netbsd openbsd
-// +build cgo,!osusergo
+// +build cgo
+// +build !osusergo
 
 package user
 
index 17de3e98d49793e5ee729ee5ea5da23ed476493e..d2fdfdc6b1e3b7bf8624659d874b1dfcf9928e2c 100644 (file)
@@ -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 cgo && !osusergo
 // +build cgo,!osusergo
 
 package user
index f3cbf6ce4a0bac532dfb5360ae72b50a02171e07..d993d3057024dd753182c739b166afbc01ffdb9d 100644 (file)
@@ -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 cgo && !osusergo
 // +build cgo,!osusergo
 
 // Even though this file requires no C, it is used to provide a
index 70f7af7f9792f2a1aefe80a875f4d041fd1d4d60..c7b72062d5cbf2e01776940ec88f21609eb6e7b8 100644 (file)
@@ -2,8 +2,10 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+//go:build (dragonfly || darwin || freebsd || (!android && linux) || netbsd || openbsd) && cgo && !osusergo
 // +build dragonfly darwin freebsd !android,linux netbsd openbsd
-// +build cgo,!osusergo
+// +build cgo
+// +build !osusergo
 
 package user
 
index 8ca30b8c274709181a498be767a8ae6d0a17bc1a..151aab49c203d7a0f75b418941819aa69ad634e1 100644 (file)
@@ -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 android
 // +build android
 
 package user
index 178d814dda07f581267b5684ea8d5f352559b8e8..c975a11964c11c83d7e6b721bc16a62ac00f14bf 100644 (file)
@@ -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 (!cgo && !windows && !plan9) || android || (osusergo && !windows && !plan9)
 // +build !cgo,!windows,!plan9 android osusergo,!windows,!plan9
 
 package user
index 0890cd8f2bf0f4d6bfccdae1cc8ebf664d5d7234..ed8c2dee9ddfa76628c642a3f7379fd8e77a36a1 100644 (file)
@@ -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 || (js && wasm) || (!android && linux) || netbsd || openbsd || solaris) && (!cgo || osusergo)
 // +build aix darwin dragonfly freebsd js,wasm !android,linux netbsd openbsd solaris
 // +build !cgo osusergo
 
index 72d3b4753445b081fc7fb638eb33a3fc5155ed2a..c697802171f7e44cb18ab74a141aeb1214ba6381 100644 (file)
@@ -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 || (!android && linux) || netbsd || openbsd || solaris) && !cgo
 // +build aix darwin dragonfly freebsd !android,linux netbsd openbsd solaris
 // +build !cgo
 
index 0f4cdc4533909a8f06379a909376e8f7ad8c398d..28dc2a5939fa9d56dc9c01b54b69abfebd606387 100644 (file)
@@ -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 || (js && wasm) || netbsd || openbsd || solaris
 // +build aix darwin dragonfly js,wasm netbsd openbsd solaris
 
 package os
index 5420b2db732ab184b43bd787758c95e4f519ec85..895f21069af2a1003b4a61e7bec7eeb2fd2f495f 100644 (file)
@@ -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 os
index 9c56eb2d41592d701b3bf409c376d55f536b0d73..1f3cb1cfe25e1fe9819864f381e76635a6f532a9 100644 (file)
@@ -5,6 +5,7 @@
 // We used to used this code for Darwin, but according to issue #19314
 // waitid returns if the process is stopped, even when using WEXITED.
 
+//go:build linux
 // +build linux
 
 package os
index c9d694451889b8aee80e9029bf082fee2da3d3dd..4ce10095e67360e21f62352d7bce451e93cc69ae 100644 (file)
@@ -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 !windows && !plan9
 // +build !windows,!plan9
 
 package filepath_test
index c8a818fd6e9a739cd91ef4eceecf89d68d4a9686..d72efcebe6130505a2c30f4ddeb081291a63b011 100644 (file)
@@ -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 !windows && !plan9
 // +build !windows,!plan9
 
 package filepath_test
index ec497d9e26bb8ccb0765dbefb46063c6be4cab0e..d4b6f967a3f785f8c6021a52117a4791c80c7b9e 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris
 
 package filepath
index d20e63a987e9ad7a9986c5ecc05b4db5f92beb74..657945a81a3361797b7b4768b2fa8d721b0ccece 100644 (file)
@@ -1,3 +1,4 @@
+//go:build !windows
 // +build !windows
 
 package filepath
index 9200fdc3cb1563edb691fbb5e8c8bec179ceab77..aa85d4831ce84952aeb112d2a33f17b21caf0d11 100644 (file)
@@ -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 && cgo) || (darwin && cgo) || (freebsd && cgo)
 // +build linux,cgo darwin,cgo freebsd,cgo
 
 package plugin
index 1893203017b1b63fb6bbe88ffd29676620ad778a..67855bed4ba82a5d56949dc34b5c0b6fc47b0863 100644 (file)
@@ -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 && !freebsd && !darwin) || !cgo
 // +build !linux,!freebsd,!darwin !cgo
 
 package plugin
index 30b79edaad7c4fc75915b2a8ed5c558b290c8f33..4ce912132c911f27219fb6d0f7057aeb1e33a50e 100644 (file)
@@ -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 || (linux && !arm64)
 // +build !linux linux,!arm64
 
 package plugin_test
index 7b86b41156e17a684ad0321191b5f08c53f4e8d7..6444bc12f90ebdfd34d446c9973edbe01eb1f412 100644 (file)
@@ -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 !race
 // +build !race
 
 package regexp
index 3ca617b21eb00dfc0b701f8d993186c7035b67b3..3178f1a154cec36bafe578cb6379b2b452316454 100644 (file)
@@ -2,12 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build !linux
-// +build !darwin
-// +build !dragonfly
-// +build !freebsd
-// +build !netbsd
-// +build !solaris
+//go:build !linux && !darwin && !dragonfly && !freebsd && !netbsd && !solaris
+// +build !linux,!darwin,!dragonfly,!freebsd,!netbsd,!solaris
 
 package runtime
 
index cdadf9e66f62a4071fc23f3a0f1c1252cf7adac8..7302c1eedfa64625d03e3eef41c35aef4605c882 100644 (file)
@@ -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 || linux
 // +build darwin linux
 
 package cgo
index d6d69187b81c251c2d533ea30b2f9b0c75d91265..cfa6fe86e2f360e04bba3edc5037b57387c56af9 100644 (file)
@@ -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
 // +build dragonfly
 
 package cgo
index 5c9ddbdc7107b0e412a73e83703c41453cadaef7..d56702ec704b2ac5e48805855d7556d6e1fab787 100644 (file)
@@ -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 cgo
index 76c0192c20b2f8d14bc6abdf36001b63815b8ab5..070d531beeb5d7cb12464bbc40837b1d4e36a6ee 100644 (file)
@@ -5,6 +5,7 @@
 // Linux system call wrappers that provide POSIX semantics through the
 // corresponding cgo->libc (nptl) wrappers for various system calls.
 
+//go:build linux
 // +build linux
 
 package cgo
index 00fb7fced6f9cbc24089e7f327e15ce21d39f374..347ae6b363f0023f69cc146afe688278d4fe7b89 100644 (file)
@@ -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 && amd64) || (linux && arm64)
 // +build linux,amd64 linux,arm64
 
 package cgo
index 74d0aed014b2516ad767db59346224645eded33e..7e17d1fcd257069849d372845ecd0747489fdb8f 100644 (file)
@@ -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 netbsd
 // +build netbsd
 
 package cgo
index 81c73bf399311233c259b1a33469387533c40526..f6215613c33419caa3e4ac6eb54249c307e9ca2c 100644 (file)
@@ -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
 
 package cgo
index 6495fcb5f83a8fb96fc2a6dab47d7fec639857d7..e6e8040ae088c8dec9d3dfecc92ffc38664e034d 100644 (file)
@@ -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 cgo
index 076fbc1a0a57011796bfe4317c5d7b2814aa6ead..ee63ea4c09edbb5296984dd9890dc5a42bc76fe9 100644 (file)
@@ -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 && amd64) || (freebsd && amd64) || (linux && arm64)
 // +build linux,amd64 freebsd,amd64 linux,arm64
 
 package cgo
index d5e0cc1e3ee3da3bde36cbe612fc74a628c612e3..17d26b4cc82f66569eed91fde308f41ec157b8c1 100644 (file)
@@ -4,6 +4,7 @@
 
 // Support for memory sanitizer. See runtime/cgo/mmap.go.
 
+//go:build (linux && amd64) || (linux && arm64)
 // +build linux,amd64 linux,arm64
 
 package runtime
index fb2da32c7e0e769f4d95cf9eaccb54982acd59a0..4dc92ea3211b87d39863c0da10c684cfed8a1786 100644 (file)
@@ -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 runtime
index de634dc9573e5bd96e7fd51e790df6a9cd1f9ee8..15690ecb0bf6e0378305b416cc4a64032fd6fd48 100644 (file)
@@ -4,6 +4,7 @@
 
 // Support for memory sanitizer. See runtime/cgo/sigaction.go.
 
+//go:build (linux && amd64) || (freebsd && amd64) || (linux && arm64)
 // +build linux,amd64 freebsd,amd64 linux,arm64
 
 package runtime
index 7beb57ea12d7de0c711264fc628d5e7526851f59..7c926f4a2b88248e1fc3d6b2946b7b905553f991 100644 (file)
@@ -2,13 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build !arm
-// +build !arm64
-// +build !mips64
-// +build !mips64le
-// +build !mips
-// +build !mipsle
-// +build !wasm
+//go:build !arm && !arm64 && !mips64 && !mips64le && !mips && !mipsle && !wasm
+// +build !arm,!arm64,!mips64,!mips64le,!mips,!mipsle,!wasm
 
 package runtime
 
index 140c170ddc1ad38ec2e016d6b39d93629be0294a..7d25c51aa2a7c2a5823abe1be63be64b8752712a 100644 (file)
@@ -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 cgo
 // +build cgo
 
 package runtime_test
index 06c197ec2b2388a99948d87ee56b4bab573a2849..5f61476f217069a841cb0e3d4d62822d24fdeba0 100644 (file)
@@ -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 windows || plan9 || (js && wasm)
 // +build windows plan9 js,wasm
 
 package runtime_test
index 803b031873fb37a90b6d466fbab245b3c0954b9b..341c35ca560354f45b75b5ae62b64e5abf593a5a 100644 (file)
@@ -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 runtime_test
index b67a3de4f98ef22d75f6db93b8dbbd9a6b1a3406..b93631e1d83b53e3215ebe754f0de38269e92482 100644 (file)
@@ -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
 // +build aix darwin dragonfly freebsd linux netbsd openbsd
 
 // TODO: test on Windows?
index a0b3f843826d78b170f8c08644c0c942d941a630..c4c41f95f2dabe07ae7c600c3277a8233b4e7070 100644 (file)
@@ -9,9 +9,8 @@
 // spends all of its time in the race runtime, which isn't a safe
 // point.
 
-// +build amd64
-// +build linux
-// +build !race
+//go:build amd64 && linux && !race
+// +build amd64,linux,!race
 
 package runtime_test
 
index efc68a767d4a7c40a65b97cdcbaffef922ef46e7..2fe0b1d12f10de2b0d585c624797447700603341 100644 (file)
@@ -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
 // +build amd64
 
 package runtime
index bb3e172498e7ec030a45be839f9c4f5a9187df86..dd3815699929411a86170237417b1f4f6b6e0656 100644 (file)
@@ -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 !debuglog
 // +build !debuglog
 
 package runtime
index 3d477e8ef5fb8c2e1b67ba9301135bed15b6613d..2fcdbe70d14428e4f805f27b360a69e062661e90 100644 (file)
@@ -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 debuglog
 // +build debuglog
 
 package runtime
index 4085d6f41827cfba50345969e60e51c984d2bb0f..df9c05dd5ed14702dabc22ff20e849c55c5bbf02 100644 (file)
@@ -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
 
 /*
index 87e19c1598a8318f90fb587b695ad0b47e569028..d016db7d027cf624c1cabe9553b6554ddf13aef6 100644 (file)
@@ -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
 
 /*
index 31f2191c76363936646623d646b5b948924299c6..0a06aa2370725b4f8c354007a30bf673687200a3 100644 (file)
@@ -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
 
 /*
index 23a6cac2bbdd0b2f0ab7fb53ed41dc2bedacaf4a..1605002ea20b9dbd21602efc904178c8742ff945 100644 (file)
@@ -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
 
 /*
index a53fcc59336381644592a52de320c22e558897f8..f84ff1160d0df517db666395640e55293c83a9e2 100644 (file)
@@ -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 runtime
index e51dd32b5b26bcac78f3acfc1965bb29f8b72db9..f6b6dd2c09e58a6529f7f95bda3deb9c3bb659b6 100644 (file)
@@ -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
 
 /*
index cc8c475387963886499c7b4b3d8ccd876e793b3c..2d41a97b5741b0630ed9027a93551d97cca31a84 100644 (file)
@@ -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
 
 /*
index 95014fe6e7127be93a41f9edb626a7c2c0448152..225258901f1936887389edd23fef4ef86c5cb82a 100644 (file)
@@ -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
 
 /*
index e196dff07698d0c9f43f75a0f08c0b05e8f340d2..c258759549c8b96ace028097d6bc1c2431c1b820 100644 (file)
@@ -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
 
 /*
index 7b14063386643123a6e4b31cd554b620d4469eac..022ef19427e1885ff19d37145b0e368c2350e540 100644 (file)
@@ -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
 
 /*
index 1fb423b19880a4390a3de1ad7f3bb651d2ff3a59..2cafad20cf98821c48004b51fccd6ef592b31de9 100644 (file)
@@ -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) && linux
 // +build mips64 mips64le
 // +build linux
 
index 9315ba9346a41f5543cb09ce9f9760bc811364de..3a8dfe2e99008171588e5c238789ba53253dfe91 100644 (file)
@@ -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) && linux
 // +build mips mipsle
 // +build linux
 
index 3f5ce5adcac2ce3b4032e66d27c5b7d75f5d5a48..755992d18e03591b9e5df75864045f9eb0a6438a 100644 (file)
@@ -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
 
 /*
index c26f246077f63be1fad342d9c161f94a8a3e8d80..03c9c2de59e5e6376068cadb8852d4bc44e0951d 100644 (file)
@@ -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
 
 /*
index f18a7b1fe32e773757df321bf7653e9f6f3620e1..9fda1d7d22657269f7d046de9c69ab6be02a08e2 100644 (file)
@@ -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
 
 /*
index cb0dce66b4d79be368a9ca00076c17e47ff69507..e7f4f6cece7ac15f44a87016541a96e53267bab9 100644 (file)
@@ -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
 
 /*
index ff7e21c71e3631d8465bed7276f93d1f616ca777..8d323449d1c5d4330f0ce732b10be0e036f5bec6 100644 (file)
@@ -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
 
 /*
index 22df59094d7cb59e866b145954c022462c6737ed..e644f9c6ddd5afc1a8cec2098b869286b60cf237 100644 (file)
@@ -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
 
 /*
index 04931788805ce9d6a51e8cf219423bd1c109db03..a0b38319a5ddcaf051211fdb5b19ad95cec59940 100644 (file)
@@ -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
 
 /*
index af353bbcd9a9694f2ddf994540db22b071bb7fbd..95517b2a958808e26e50d7768b7c8364aa10e6ae 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris || windows || plan9
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris windows plan9
 
 package runtime
index ed4242ef241e6ea70c655d5f1da2edf29bffa13a..18ccecd5cd79a26d3a85c84c3359fef09feab52f 100644 (file)
@@ -2,8 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build amd64
-// +build linux
+//go:build amd64 && linux
+// +build amd64,linux
 
 package runtime
 
index a727a9311450b292f818c3d79bf0e274f4521ac8..34c970d6d2d337d065450a8a51647ab791e282fc 100644 (file)
@@ -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
 // +build dragonfly freebsd linux
 
 package runtime
index aeaf37f64be9209ffedf55f764d1fe9e183b926d..bf4a81589916cc55d68d566a3157875cbf93eae1 100644 (file)
@@ -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
 
 // Export guts for testing.
index 9d580d3313446bd7f23ee00ad8922a7e6b9c3bab..31c8e43b3f4fcc995b30007711d4c50593fe21ff 100644 (file)
@@ -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 || linux || netbsd || openbsd || solaris
 // +build freebsd linux netbsd openbsd solaris
 
 package runtime
index 8f66770fb98631b2866ef0aedafc1f0db02b3609..82032e6bfb4ec6a6437d668c6cc95af5f8705148 100644 (file)
@@ -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
 // +build aix darwin dragonfly
 
 package runtime
index 307c63fd68506b21ae40d444dee93c306f591429..215e234286b1c025d720f64f3d79180983c29eee 100644 (file)
@@ -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 runtime
index 3051bd58801a1e91bd03ca0d68bef83b90a49421..10a735327a7357b59e2a40946295c7668b0295e1 100644 (file)
@@ -6,6 +6,7 @@
 // The race detector emits calls to split stack functions so it breaks
 // the test.
 
+//go:build (dragonfly || freebsd || linux) && !race
 // +build dragonfly freebsd linux
 // +build !race
 
index 966f70e1aa93b1b8247d9a78aca11e32290d2a76..7fa8eb7cab1a265fec99eef967c91520bce4cab5 100644 (file)
@@ -6,6 +6,7 @@
 //   xxhash: https://code.google.com/p/xxhash/
 // cityhash: https://code.google.com/p/cityhash/
 
+//go:build 386 || arm || mips || mipsle
 // +build 386 arm mips mipsle
 
 package runtime
index d1283824ad9a0492549b684b58efbbdfd430dc83..1bee666bd7fb64be8b2339579c08c58543ea03f4 100644 (file)
@@ -6,6 +6,7 @@
 //   xxhash: https://code.google.com/p/xxhash/
 // cityhash: https://code.google.com/p/cityhash/
 
+//go:build amd64 || arm64 || mips64 || mips64le || ppc64 || ppc64le || riscv64 || s390x || wasm
 // +build amd64 arm64 mips64 mips64le ppc64 ppc64le riscv64 s390x wasm
 
 package runtime
index 1bfcb1143d3ec8fdd8fa1fcfb3e94d438bb70cdd..d4aed6b6717da97ab96463b58f7f15d95b8d4ea4 100644 (file)
@@ -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
 // +build 386
 
 package atomic
index 546b3d6120752f23d9f9355043b65d9dfff7f6b2..2e9374ca269dd63a7a0c809f5d9ab245b5be19ea 100644 (file)
@@ -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
 // +build arm
 
 package atomic
index d49bee8936f63e3295b5bdc13a043df24fb0f3d9..131c687e1baa757dc0887135914069c0daa7c5dd 100644 (file)
@@ -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
 // +build arm64
 
 package atomic
index b0109d72b06835d5a4dbd91b57c314629b41cc2c..5b407ebc7a5918006993978db2360a5f4570bd03 100644 (file)
@@ -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 atomic
index 1336b501214263f60f910d5ae639c5a6ee9c7c6d..80cd65b33388ab4e432d2d85499045857eb65937 100644 (file)
@@ -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
 
 // Export some functions via linkname to assembly in sync/atomic.
index e4b109f0ec1e77de9209a1b7c1af859b70301ecb..98101e3287823a0807a9bd5b204e82bf76a607c2 100644 (file)
@@ -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 atomic
index 62e30d1788281835af2fd5563e7a6bb0a55582ce..1275884b2f1c1c7264cb90e32c29b50a22a47b55 100644 (file)
@@ -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 atomic
index 9bbc48d94f2ff09f3077df9b18734d7b5ba9d094..51f64a6e5c667976b9c6f81a757d0e8218980687 100644 (file)
@@ -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
 
 package main
index 3c8898236c7b272e3a888ca1615673ce95442fba..e76d8dd064616a2866047dbb40c0408c40d70eb1 100644 (file)
@@ -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
 // +build !386
 
 // TODO finish intrinsifying 386, deadcode the assembly, remove build tags, merge w/ intrinsics_common
index 9cbf48216c20063119c294df27274021e8ac6754..bf1494d48aac7b787cdf381d7ba70c6f04876be5 100644 (file)
@@ -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
 // +build 386
 
 package sys
index c286d0df2b36eaf0556872d593f02a19fac6ca3e..98a2401bfe9a8798c474573b82d263db8fe8dbd1 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build 386
 // +build 386
 
 package sys
index d21c1d7d2a777420530370846529d3ca90f66495..d8faa5c786085161c92d31127155cef5f08c250e 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build amd64
 // +build amd64
 
 package sys
index 9085fb0ea84f187197b40cb2994c5f947c81f473..b64a69c9b44eec0f4b35e7906b87560005be7121 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build arm
 // +build arm
 
 package sys
index ed7ef2ebcb376f3502d55b22ff1be8ac98d1082c..de6f85347b1d609778dcb3396639abb463e675f1 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build arm64
 // +build arm64
 
 package sys
index faf31110535a27b4b3a1af7ab5b0d42d539e0723..b762bb069f8c1bc3b5852295b77ff6a8fdd3c487 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build arm64be
 // +build arm64be
 
 package sys
index cb28301e0befdae58547cb554ae26a5a9e43091b..e5297e4b169d936edcc7ac03b7d26ff99246acb0 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build armbe
 // +build armbe
 
 package sys
index 315dea1c846ea4850d4c940386dbdca3cbf62301..b5f4ed390c6ba32309187ce7d7a2273381253928 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build mips
 // +build mips
 
 package sys
index 5258cbfbe70bf12c9723f1e9a5e1cd71f53c51ad..73777cceb21096f9180addf525c154c5504601be 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build mips64
 // +build mips64
 
 package sys
index 1721698518f1cc3b1e15aee8ec734862d6556e7e..0c81c36c09741d3d40c551bf35c6b070b02dc926 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build mips64le
 // +build mips64le
 
 package sys
index 44c4624da91558faa05c130b1c01be18bdfd00aa..d63ce27d24d8bbca7551c4472b683d29fc2ca61d 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build mips64p32
 // +build mips64p32
 
 package sys
index eb63225430dfa97abfdedeb137dad0c24b9bfea7..2d577890b2e671667bc5b57cfe7a0febe0fb3302 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build mips64p32le
 // +build mips64p32le
 
 package sys
index e0ebfbf0385a1aa0289a471416095525dd1fa280..8af919d03a35f429bd79167c7d826d4a1d79865a 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build mipsle
 // +build mipsle
 
 package sys
index ef26aa3201144cfbfc5ff4ff32ff5abe55b75c45..f6f12a5ddcecad74dded8441a93230a519202119 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build ppc
 // +build ppc
 
 package sys
index 32c2d46d4c9fc629dc73fd35de378ea6ef762d2e..a8379601f47e652baa8bb2f89014317866e8dc90 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build ppc64
 // +build ppc64
 
 package sys
index 3a6e56763c01ade03483cd20c4204c6a66b099dc..f2ec5dcba7291a5ef1fdcd5094d5c32bef366d8f 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build ppc64le
 // +build ppc64le
 
 package sys
index d8f6b49093527ae152d67860bf799e77ce8d1460..83a3312f5f3171d94159f829be00d3592ddd6643 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build riscv
 // +build riscv
 
 package sys
index 0ba843b5ac5648ee548364c567a9aac8328ec401..1dfcc84997b870b125474a9865b5177c0a96969f 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build riscv64
 // +build riscv64
 
 package sys
index 20a1b234a6501a6b74e7c6cdeee2ad3745de4e81..91aba5a0f6cfaec578bb71273aea1c3dce301bf4 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build s390
 // +build s390
 
 package sys
index ffdda0c827afd7a6cb232595ec55bca509f6848b..edce50234e56a7e6b89e88935352bc5f0016546d 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build s390x
 // +build s390x
 
 package sys
index b4949510d54901dd011180e78025df2e1560e59c..5ae9560ab0154e8c3c602c8f59788605e98a5eaf 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build sparc
 // +build sparc
 
 package sys
index 0f6df411ce8d7f462395ed16e35de233d3f3189e..e2a0134affd01e30e004230c4f7891d1eaed394c 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build sparc64
 // +build sparc64
 
 package sys
index e69afb0cb3a0a38be9d511465e127cfc33c0f1a1..52e85dea371d6d6149feb333e7c08088fe6e6242 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build wasm
 // +build wasm
 
 package sys
index 0631d02aa55a43cfd1fe6ec4a3325a7ded166e84..f3b907471f6e4ad68a933dbed7e25a45806e9052 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build aix
 // +build aix
 
 package sys
index d356a40bec65ec2482436188c8c0a8c337447231..e28baf7c48103e037941ebb03f55f485c7a3e3a4 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build android
 // +build android
 
 package sys
index 6aa2db7e3a753fb1010b17a0265a4cec486468b9..3c7f7b543eecdd2d3559c832f920d8c0a3fbd865 100644 (file)
@@ -1,7 +1,7 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
-// +build !ios
-// +build darwin
+//go:build !ios && darwin
+// +build !ios,darwin
 
 package sys
 
index 88ee1174f1efe45cbfba026da7d0bc89271b5734..f844d29e2a1e552c11a1b9f57d44e9c01df97c47 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build dragonfly
 // +build dragonfly
 
 package sys
index 8de2ec0559ee152814d24d2ad936d77742227a24..8999a2797af0cbce96b97239bd4b3219dbf38e96 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build freebsd
 // +build freebsd
 
 package sys
index 183ccb02a1ea793f86d6e22f8c3ae1ed6c3c48a8..a546488bf8999df89df1e98ae3195e25d5c4b913 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build hurd
 // +build hurd
 
 package sys
index d04134e1df52d74019aaf2d1afecf833ced15c01..02a4ca06e82b1b54d064c1a15776f6868d332590 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build illumos
 // +build illumos
 
 package sys
index cf6e9d61f02825f3f859ac038dac63b2280f0a07..033eec623df05375589396351cf87311315ad58e 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build ios
 // +build ios
 
 package sys
index 1d9279ab389ba56cb1eb7785be8ff07495f00c40..28226ad60ad2dc94058da37c1a895f8e326d2f1f 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build js
 // +build js
 
 package sys
index 0f718d704ff66260a9916a81eb090e858b9e978b..01546e4b9f26165b15cdf5f08091e083660ef545 100644 (file)
@@ -1,7 +1,7 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
-// +build !android
-// +build linux
+//go:build !android && linux
+// +build !android,linux
 
 package sys
 
index 2ae149ff13c78342307bd77897d314335ca81602..9d658b20ee200d9b3759c8fc5da24ad29ef1e578 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build netbsd
 // +build netbsd
 
 package sys
index 7d4d61e4ca33b6d9d6cf792e46eb2db8bcfc746f..0f55454a953fec156a7cb6c5f6bf6e982ba4fab1 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build openbsd
 // +build openbsd
 
 package sys
index 30aec46df33e39ed43943a14fe21af672dfcadaa..d0347464d6d25dcf55cc1069a0128b600917b32e 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build plan9
 // +build plan9
 
 package sys
index 4bb8c99bce0ab26a21bc71d8f28d5c0f3280c748..05c3007e2c226077531804715ff5c386a10651eb 100644 (file)
@@ -1,7 +1,7 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
-// +build !illumos
-// +build solaris
+//go:build !illumos && solaris
+// +build !illumos,solaris
 
 package sys
 
index d1f4290204683f3dda3ddabed03c10aab867293e..7d07fa3a451150875f9710dc020da8b74a37be92 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build windows
 // +build windows
 
 package sys
index d22be46fc028997aef28e3d6259a920a482862ee..d6e5b9b0cb2b98b2e9edd9a678e39645723c7bb1 100644 (file)
@@ -1,5 +1,6 @@
 // Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
 
+//go:build zos
 // +build zos
 
 package sys
index f07ff1c06b48cf9c0011f781b9df79cee09009ba..c00f0965bd63b1f40e46e40bca929a7979079363 100644 (file)
@@ -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 || arm || mips || mipsle
 // +build 386 arm mips mipsle
 
 package runtime
index 9d821b989efed11f76fe3f72bc9b5f1ec84fe7af..4812dd1156572437938a16ad9c78ab96b5dce9a7 100644 (file)
@@ -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 || arm64 || mips64 || mips64le || ppc64 || ppc64le || riscv64 || s390x || wasm
 // +build amd64 arm64 mips64 mips64le ppc64 ppc64le riscv64 s390x wasm
 
 package runtime
index 0161955f09faf438f84a8535a4bf09e3e163f261..578bce04149baab781e738fa2779a14ec5d6ec6a 100644 (file)
@@ -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 libfuzzer
 // +build libfuzzer
 
 package runtime
index 91467fdfae0dab5b5c2b0de95bc9e3e09be13af5..017b481c642a3024654812d9b73422ff6c5c1522 100644 (file)
@@ -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
 // +build dragonfly freebsd linux
 
 package runtime
index 14bdc76842cc4749a68d6e7b40ae6d54bf597807..04e7e85c126ff3a39a27df3cc46930acf19c26f7 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package runtime
index 671e524e45885bfe6443126d6c17a7b9ed37d0e5..3c0a7ca67ed7525edfafc254ac30f90c6bb835fe 100644 (file)
@@ -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 || netbsd || openbsd || plan9 || solaris || windows
 // +build aix darwin netbsd openbsd plan9 solaris windows
 
 package runtime
index 7dcd8f5fe96296b2b73484cd7accf61ff85d5aab..f3d2c009145766c448a9a71a5ca3d4c0cd1f6c96 100644 (file)
@@ -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 !goexperiment.staticlockranking
 // +build !goexperiment.staticlockranking
 
 package runtime
index 88ac95a0047405b4a744a79286c220249ebe656e..702bf5f24cce52f49bfed9f7ca280a75aaea2feb 100644 (file)
@@ -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 goexperiment.staticlockranking
 // +build goexperiment.staticlockranking
 
 package runtime
index bc672019fb50c0ca7e38086d5168307e62dfeea2..dcbb9a1d51ee5222cc902776e54f54c909b66e02 100644 (file)
@@ -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 || netbsd || openbsd || solaris
 // +build dragonfly freebsd netbsd openbsd solaris
 
 package runtime
index 957ed36ffa04d8e08c1d9170cc5e570097b6ffb8..fe940360c0e19a06243325d49bc0073477a842c3 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package runtime
index ef297f073e099fa4538cea75c218cc60c37638ee..8632fe08a3d6f8fd2363f5a724facc2529a6297b 100644 (file)
@@ -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
 
 // runtime·duffzero is a Duff's device for zeroing memory.
index d65029239484cc085748622048f15607202a1254..8d78a3923a094be383eaebbbce64d519c579c45a 100644 (file)
@@ -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
 
 // fastlog2Table contains log2 approximations for 5 binary digits.
index 1d614dd00397da9e1404c657027e4404a1f92fb7..3069d6ed04e4dbdb4c7ddad71c4a5d617e511eda 100644 (file)
@@ -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
 
 // mkpreempt generates the asyncPreempt functions for each
index b92d1fed5f834ae23a60b3138c840dca2b8831b9..b4a117d3438545a189a3bcfe7dcca3c6e37f2b1a 100644 (file)
@@ -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 tables for small malloc size classes.
index 1b1848b79ec54f2ec6f894c31bfa2b7feb229152..7460eb31046fa895127156e2f68c11e593a5ef7a 100644 (file)
@@ -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 && !js && (!linux || !amd64) && (!linux || !arm64) && !openbsd && !plan9 && !solaris && !windows
 // +build !aix
 // +build !darwin
 // +build !js
index 331dadade92bee983b9b39c218ccf9140012181e..fceb4e7a187b7a6d3a0ff060da84ea92a02e8277 100644 (file)
@@ -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 || arm || mips || mipsle || wasm || (ios && arm64)
 // +build 386 arm mips mipsle wasm ios,arm64
 
 // wasm is a treated as a 32-bit architecture for the purposes of the page
index ffacb46c18e9d179431dcc9b139f278e5e7e07f0..16577346a7fbe2c30742875f56b4c6b6d4cac0af 100644 (file)
@@ -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 || (!ios && arm64) || mips64 || mips64le || ppc64 || ppc64le || riscv64 || s390x
 // +build amd64 !ios,arm64 mips64 mips64le ppc64 ppc64le riscv64 s390x
 
 // See mpagealloc_32bit.go for why ios/arm64 is excluded here.
index 6a5960b0a8e0b703a848c847dfefff32dcf43b89..25aaf94e26cec2a46c4672b9bcc612a7ee96bd3d 100644 (file)
@@ -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 msan
 // +build msan
 
 package runtime
index 374d13f30b516978a1154ea7e932f55a9d1af492..b1096a6750e5d249dc132c92acf755ed7fe7fcce 100644 (file)
@@ -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 !msan
 // +build !msan
 
 // Dummy MSan support API, used when not built with -msan.
index b38c58399bc8158d627309c6501ff3e5c4ad62be..076a722eb73eba50eef9eb4a3a7ed4e501c51da5 100644 (file)
@@ -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 || solaris
 // +build aix darwin solaris
 
 package runtime_test
index 75acdb62dddd2d204eb07c89f6ae2289a1429e12..6d5e4ff0215a082f70556fe607981e82ef2c9a8d 100644 (file)
@@ -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 runtime_test
index 822b2944dbf9c97d3bf1fa87dba4fa57cc743225..d92cf97217b2efbfecc5c5fae094bcc2a7ca1b4b 100644 (file)
@@ -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
 // +build aix darwin dragonfly
 
 package runtime
index e3639d99b158ab5e565ce3b4312a7c4ed26b4e43..f138d1f9561fbb81d4152426780ac507b3f4dcdf 100644 (file)
@@ -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 || linux || netbsd || openbsd || solaris
 // +build freebsd linux netbsd openbsd solaris
 
 package runtime
index d739f57864aafc6f2d6e9242019df7519393b3b2..1d6a9b525c8850e29074bba7b931a650433cb1dd 100644 (file)
@@ -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 runtime_test
index 77eb3aa4c63fd9a4deeafbfd22c33b07de0c4f0e..afb208a4550854d290d34aff5d66833465d530f1 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris || windows
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris windows
 
 package runtime
index 58f4fa875417cc4b5491cc0761685cdb8af8eab3..371ac59f8e2ec06327069c328fb77d5ddf2e3627 100644 (file)
@@ -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 runtime
index b2af3b89b2c51c034d4e5271a5b2b11693e852e6..8366f289144cf4f377d6e7ed94271d3caadca56c 100644 (file)
@@ -5,6 +5,7 @@
 // Fake network poller for wasm/js.
 // Should never be used, because wasm/js network connections do not honor "SetNonblock".
 
+//go:build js && wasm
 // +build js,wasm
 
 package runtime
index 3bd93c1f208dbde571b056f28c1ecf341a06a8ad..80d1b0cf18a17a9ab786599d91c44fb59f69db99 100644 (file)
@@ -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 runtime
index 3599f2d01b7a2b968ac7d90fdd3c6ede7d52babf..33ab8eba58cc48a36f81763b8559f67b26b9a858 100644 (file)
@@ -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 plan9
 // +build plan9
 
 package runtime
index 3517a5ddbe76b49121873423bc3c9a7712019058..94b7c7a46777d81adf4a0059b81e20887531c324 100644 (file)
@@ -3,6 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // The file contains tests that cannot run under race detector for some reason.
+//go:build !race
 // +build !race
 
 package runtime_test
index e90128bb6d412a866656713b42a949c28f186583..9ad5dde3829924d338010a2e7df96b70a8784d3f 100644 (file)
@@ -3,6 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // The file contains tests that cannot run under race detector for some reason.
+//go:build !race
 // +build !race
 
 package runtime_test
index 303f0876deb711333cda9836eb26adfd67f10cfc..557b17cc75e426e5a262bd503dc0792eef120538 100644 (file)
@@ -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 runtime
index 6947a05d0411ea85a1ec6ed929bdfc1a82142709..fde6fbf1b144eb609559d4662d9bf054636405aa 100644 (file)
@@ -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 && !amd64
 // +build freebsd,!amd64
 
 package runtime
index 01efb9b7c9c83b2c8a374ecf88c43a136ca1f3db..8fe0cb6718f14d2f62577146058f35115e8e8e50 100644 (file)
@@ -2,8 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build freebsd
-// +build !arm
+//go:build freebsd && !arm
+// +build freebsd,!arm
 
 package runtime
 
index 5b2c53795a2d32f8bf6c38e8933de231d3324817..52b64e76027648239fe16ed75a6a95334bc82f2e 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package runtime
index c5fd74204883e11581b81dbe2e6c1cbcfc6d0f4f..5260f22f57396b44468b699cf849b254884963a9 100644 (file)
@@ -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
 // +build arm64
 
 package runtime
index 9860002ee417a9cbe93d34d7f901149239d0407e..806d02fee83e77ae5fe70178fdefbec3e7d29d44 100644 (file)
@@ -4,6 +4,7 @@
 
 // The standard GNU/Linux sigset type on big-endian 64-bit machines.
 
+//go:build linux && (ppc64 || s390x)
 // +build linux
 // +build ppc64 s390x
 
index e1d0952ddf5abfd0107e894dc67815481be431d2..fe1973dbde6ce06a3bd359d3e53a4edbd9f30acc 100644 (file)
@@ -2,13 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build !mips
-// +build !mipsle
-// +build !mips64
-// +build !mips64le
-// +build !s390x
-// +build !ppc64
-// +build linux
+//go:build !mips && !mipsle && !mips64 && !mips64le && !s390x && !ppc64 && linux
+// +build !mips,!mipsle,!mips64,!mips64le,!s390x,!ppc64,linux
 
 package runtime
 
index 815a83a04bc41432eae97c4df224dc3565d21f4f..bd76442dbd843219bff013e64d5662436bb002f3 100644 (file)
@@ -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
 
index 00fb02e4bf5ff6451fe6d698a959b22e49f16a0f..ef8b3f7d4348230ad17663105c3966880661044d 100644 (file)
@@ -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
 
index 895b4cd5f44cb610c996a6bb1f3ae6e63b2a68e2..59b5aacaebc318a142d4e8cc0bcdcf143c5ac66e 100644 (file)
@@ -2,8 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build linux
-// +build !arm,!arm64,!mips,!mipsle,!mips64,!mips64le,!s390x,!ppc64,!ppc64le
+//go:build linux && !arm && !arm64 && !mips && !mipsle && !mips64 && !mips64le && !s390x && !ppc64 && !ppc64le
+// +build linux,!arm,!arm64,!mips,!mipsle,!mips64,!mips64le,!s390x,!ppc64,!ppc64le
 
 package runtime
 
index 155f415e71cadea9568dcf41e6d7883c670f318c..8104f63627f7486b462adbac1c9f8f8cddf48c9c 100644 (file)
@@ -2,8 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build linux
-// +build !386,!amd64,!arm,!arm64,!mips64,!mips64le,!ppc64,!ppc64le
+//go:build linux && !386 && !amd64 && !arm && !arm64 && !mips64 && !mips64le && !ppc64 && !ppc64le
+// +build linux,!386,!amd64,!arm,!arm64,!mips64,!mips64le,!ppc64,!ppc64le
 
 package runtime
 
index 3aedc23ef90e227d856974074e653f5a3766a4e1..c093d2ec0f593013d479a8c8f10fe958b4940d12 100644 (file)
@@ -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
 
index d91fa1a0d18fbd07aa6572a6a556953d3ce70d28..5667774d82f055569923a94cef5f1081660a4339 100644 (file)
@@ -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 || amd64)
 // +build linux
 // +build 386 amd64
 
index e65697bdb31bbd968edd19aa10ed682c78909975..6134b6c02f20683f7f1d35e37e1e0e8a08c4485b 100644 (file)
@@ -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
 
 package runtime
index e2f5409354d6cd796de3192563d7efe7a0eead6f..3829683c807186b38ae75c84bccb22a641658ac4 100644 (file)
@@ -4,6 +4,7 @@
 
 // Solaris code that doesn't also apply to illumos.
 
+//go:build !illumos
 // +build !illumos
 
 package runtime
index 2edb0358b07de9ac88f4ccc4c053b4e38b5a8bc3..3f43ade55882b16588eeea2a0ee6de8a6baf8619 100644 (file)
@@ -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 && amd64) || (openbsd && arm64)
 // +build openbsd,amd64 openbsd,arm64
 
 package runtime
index 16ff2b8e2555c0d47d7180c0b781b4a23d6c0a8f..6facf31593f201d9be0c6e5d4f8284c667b09609 100644 (file)
@@ -2,8 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build openbsd,!amd64
-// +build openbsd,!arm64
+//go:build openbsd && !amd64 && openbsd && !arm64
+// +build openbsd,!amd64,openbsd,!arm64
 
 package runtime
 
index f37da04194ecc929ebae305379d6eaa4448d65a0..0f3d5f0b73d0746b4546cb55b58e149b92b0be89 100644 (file)
@@ -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 && !amd64 && !arm64
 // +build openbsd,!amd64,!arm64
 
 package runtime
index 81cfb085aa4256a8a4863fffbfe7620f7e92dd50..3b1707126bd57c7c54ed6c0c271ab88b0a4ca0b2 100644 (file)
@@ -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 && !amd64 && !arm64
 // +build openbsd,!amd64,!arm64
 
 package runtime
index aea8401a37b0d9805ca3f55c7c6c84e1ca9b5a77..acbdd1ff458d6210d96a08c3b564d72a2b39b023 100644 (file)
@@ -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 || arm || mips || mipsle
 // +build 386 arm mips mipsle
 
 package runtime
index c11a45fd6949a565f723871f8111cd7c9fc8efee..3ef40d3de7de1c52f0de642257320840a2071f18 100644 (file)
@@ -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 !js
 // +build !js
 
 package pprof
@@ -93,31 +94,31 @@ func TestMemoryProfiler(t *testing.T) {
        }{{
                stk: []string{"runtime/pprof.allocatePersistent1K", "runtime/pprof.TestMemoryProfiler"},
                legacy: fmt.Sprintf(`%v: %v \[%v: %v\] @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+
-#      0x[0-9,a-f]+    runtime/pprof\.allocatePersistent1K\+0x[0-9,a-f]+       .*/runtime/pprof/mprof_test\.go:47
-#      0x[0-9,a-f]+    runtime/pprof\.TestMemoryProfiler\+0x[0-9,a-f]+ .*/runtime/pprof/mprof_test\.go:82
+#      0x[0-9,a-f]+    runtime/pprof\.allocatePersistent1K\+0x[0-9,a-f]+       .*/runtime/pprof/mprof_test\.go:48
+#      0x[0-9,a-f]+    runtime/pprof\.TestMemoryProfiler\+0x[0-9,a-f]+ .*/runtime/pprof/mprof_test\.go:83
 `, 32*memoryProfilerRun, 1024*memoryProfilerRun, 32*memoryProfilerRun, 1024*memoryProfilerRun),
        }, {
                stk: []string{"runtime/pprof.allocateTransient1M", "runtime/pprof.TestMemoryProfiler"},
                legacy: fmt.Sprintf(`0: 0 \[%v: %v\] @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+
-#      0x[0-9,a-f]+    runtime/pprof\.allocateTransient1M\+0x[0-9,a-f]+        .*/runtime/pprof/mprof_test.go:24
-#      0x[0-9,a-f]+    runtime/pprof\.TestMemoryProfiler\+0x[0-9,a-f]+ .*/runtime/pprof/mprof_test.go:79
+#      0x[0-9,a-f]+    runtime/pprof\.allocateTransient1M\+0x[0-9,a-f]+        .*/runtime/pprof/mprof_test.go:25
+#      0x[0-9,a-f]+    runtime/pprof\.TestMemoryProfiler\+0x[0-9,a-f]+ .*/runtime/pprof/mprof_test.go:80
 `, (1<<10)*memoryProfilerRun, (1<<20)*memoryProfilerRun),
        }, {
                stk: []string{"runtime/pprof.allocateTransient2M", "runtime/pprof.TestMemoryProfiler"},
                legacy: fmt.Sprintf(`0: 0 \[%v: %v\] @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+
-#      0x[0-9,a-f]+    runtime/pprof\.allocateTransient2M\+0x[0-9,a-f]+        .*/runtime/pprof/mprof_test.go:30
-#      0x[0-9,a-f]+    runtime/pprof\.TestMemoryProfiler\+0x[0-9,a-f]+ .*/runtime/pprof/mprof_test.go:80
+#      0x[0-9,a-f]+    runtime/pprof\.allocateTransient2M\+0x[0-9,a-f]+        .*/runtime/pprof/mprof_test.go:31
+#      0x[0-9,a-f]+    runtime/pprof\.TestMemoryProfiler\+0x[0-9,a-f]+ .*/runtime/pprof/mprof_test.go:81
 `, memoryProfilerRun, (2<<20)*memoryProfilerRun),
        }, {
                stk: []string{"runtime/pprof.allocateTransient2MInline", "runtime/pprof.TestMemoryProfiler"},
                legacy: fmt.Sprintf(`0: 0 \[%v: %v\] @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+
-#      0x[0-9,a-f]+    runtime/pprof\.allocateTransient2MInline\+0x[0-9,a-f]+  .*/runtime/pprof/mprof_test.go:34
-#      0x[0-9,a-f]+    runtime/pprof\.TestMemoryProfiler\+0x[0-9,a-f]+ .*/runtime/pprof/mprof_test.go:81
+#      0x[0-9,a-f]+    runtime/pprof\.allocateTransient2MInline\+0x[0-9,a-f]+  .*/runtime/pprof/mprof_test.go:35
+#      0x[0-9,a-f]+    runtime/pprof\.TestMemoryProfiler\+0x[0-9,a-f]+ .*/runtime/pprof/mprof_test.go:82
 `, memoryProfilerRun, (2<<20)*memoryProfilerRun),
        }, {
                stk: []string{"runtime/pprof.allocateReflectTransient"},
                legacy: fmt.Sprintf(`0: 0 \[%v: %v\] @( 0x[0-9,a-f]+)+
-#      0x[0-9,a-f]+    runtime/pprof\.allocateReflectTransient\+0x[0-9,a-f]+   .*/runtime/pprof/mprof_test.go:55
+#      0x[0-9,a-f]+    runtime/pprof\.allocateReflectTransient\+0x[0-9,a-f]+   .*/runtime/pprof/mprof_test.go:56
 `, memoryProfilerRun, (2<<20)*memoryProfilerRun),
        }}
 
index 6fdcc6cc38dcdb68b65deff2a531f03b70ac9c03..e175dd380cfb62d51f2a48a8baa83a642a977c79 100644 (file)
@@ -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 && !linux
 // +build !darwin,!linux
 
 package pprof
index 79546738119abe3be39f8fb06b614a7f05001a97..269f21bc2f93c520d7b280af186318ad2a431627 100644 (file)
@@ -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 || linux
 // +build darwin linux
 
 package pprof
index 14321b09349612f569ef2c8acabfb39ab24db8f2..1b86dbff5b231b04a0c8803e19829f3cebe79a22 100644 (file)
@@ -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 !js
 // +build !js
 
 package pprof
index 3066a1521eb644aaad772885cbb578d5e4f4b74e..365e86a611a4daa8c56ff827b7ceed5c2ce5887e 100644 (file)
@@ -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 !windows
 // +build !windows
 
 package runtime
index 79fd21765d7dfa683a57de7138ccba321971eded..cc8c5db1bd2dca7d8e2aea9d5634d210667c76d8 100644 (file)
@@ -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 race
 // +build race
 
 package runtime
index 17dc32013f3ee5bbc4c1b29ebb72227710e94b89..4a959d9aba418b35336327f199bb40aefb7bedab 100644 (file)
@@ -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 race
 // +build race
 
 package race_test
index d6a14b79e71fdc92b9cf1345eedc3c849b7c93e7..fe50900ec8bcb3854bbe1687c285692cbc57d0cc 100644 (file)
@@ -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 (race && linux && amd64) || (race && freebsd && amd64) || (race && netbsd && amd64) || (race && darwin && amd64) || (race && windows && amd64) || (race && linux && ppc64le) || (race && linux && arm64) || (race && darwin && arm64)
 // +build race,linux,amd64 race,freebsd,amd64 race,netbsd,amd64 race,darwin,amd64 race,windows,amd64 race,linux,ppc64le race,linux,arm64 race,darwin,arm64
 
 package race
index c00ce4d3dfcb088e81a7def2586c9f27a486f06a..9c0d48d6bda6c589cb6961f70f7b11704ac0c591 100644 (file)
@@ -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 && race
 // +build linux,race
 
 package race_test
index d433af6bd0236d1e342ed7f3f7f20fe1255dcc9a..8c880b857007a1157a66131fa07dadd8d943e694 100644 (file)
@@ -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 race
 // +build race
 
 // This program is used to verify the race detector
index 84f0acece6e604e38d576f2c79d30e711167c89e..acd6e47f9827645b6b82d56694382f9bf33e621b 100644 (file)
@@ -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 race && (darwin || freebsd || linux)
 // +build race
 // +build darwin freebsd linux
 
index 307a1ea6c0d8342ca43b74d7721c55df2440a94e..e490d766dd05ddb91880abf05b0421a3fdc9f2d2 100644 (file)
@@ -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 windows && race
 // +build windows,race
 
 package race_test
index d6bb323cde98487a627174683158d5c536af12f3..e904ebd20d8c1c699407e374404acaff217aedb2 100644 (file)
@@ -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 race
 // +build race
 
 package race_test
index db846c5d2ad3c4631a3a5f588a4faec96fd2633c..cbce5a8f18419e4e16bb63e8f16819a8048435fe 100644 (file)
@@ -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 !android && !js && !ppc64le
 // +build !android,!js,!ppc64le
 
 // Note: we don't run on Android or ppc64 because if there is any non-race test
index a6c34a8352e7646fab0d138701931a09b1a9ba00..f11f8456a0fd4a95ae6417ac813fba6c112ca03e 100644 (file)
@@ -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 race
 // +build race
 
 package race_test
index 180f707b1a74294288ddff98fd9b58620fb9e585..0e431b8103e060323b4080a096aa59451335cf28 100644 (file)
@@ -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 !race
 // +build !race
 
 // Dummy race detection API, used when not built with -race.
index 81ed1291b8b812435414ca254d32bbfa264e70d1..5b92879c20bc5ce3dba3b9063349c527e235bbc2 100644 (file)
@@ -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 !windows
 // +build !windows
 
 package runtime
index bb0b747606b479c87ee5b419b767744ac6bf6241..f71f8afa5746aeb115bf233a3d238de8ee61ec06 100644 (file)
@@ -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 runtime_test
index b0cbbbe3e60d409155e08059019754fc9a81fcb4..0251c676e6df6b171c38752a4e2f9671a29bc2be 100644 (file)
@@ -6,6 +6,7 @@
 // We need a fast system call to provoke the race,
 // and Close(-1) is nearly universally fast.
 
+//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || plan9
 // +build aix darwin dragonfly freebsd linux netbsd openbsd plan9
 
 package runtime_test
index 9b371b07324ff95329172fb8072a350233004198..905e932b7d857efb1643e9fc314b7693a1222a45 100644 (file)
@@ -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 !plan9 && !windows && !js
 // +build !plan9,!windows,!js
 
 package runtime_test
index 3c888579d0e6667fe2452bcb3349a5d2914204ad..76f37b1b53506996c3ee04ad11289a4ad22bf4ad 100644 (file)
@@ -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 && !amd64 && !arm64) || (freebsd && !amd64)
 // +build linux,!amd64,!arm64 freebsd,!amd64
 
 package runtime
index 065aff48d30af568226b606f472d84bb3979b8be..5824eaddb5630d5b2dc49bc68532c974cde09d81 100644 (file)
@@ -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 runtime
index c17563e2a5faed54b67fea26245a0f757f882ad1..a0becd431ebdf6728d93449ada1eca644606cbf9 100644 (file)
@@ -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 runtime
index 3eeb5e044ff0ff1c5cae3d43ca064dda5b37dde1..e45fbb4a87a39f8c95973d209c1d93c07b00fd59 100644 (file)
@@ -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 || dragonfly || freebsd || linux || netbsd || openbsd || solaris)
 // +build amd64
 // +build darwin dragonfly freebsd linux netbsd openbsd solaris
 
index 156d9d384c7d4dc987717b4e81258019fbb25b3c..4d9c6224a29d1e6a64174b38fadcf22f8995b3c1 100644 (file)
@@ -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 runtime
index b559b93938849a95e1a89de6404262df6ccb2d01..f04750084f4b011e5028ed08375548530a4d0318 100644 (file)
@@ -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 || openbsd
 // +build darwin freebsd linux netbsd openbsd
 
 package runtime
index b608197d605a1503acb8fe4121b0763d59bab9ed..f0a75ac3ea571598ab610b547b0c2d1109c234e0 100644 (file)
@@ -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
 
index c88ac4d52174a8f923840205970655e02e41904a..f3969c5aac4a7468fd275ca2ea6617c36a9664ce 100644 (file)
@@ -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
 
index 97cb26d58771cebc2ff9d40b85c10a17b86d6de6..d9d3e55ec2000976a2935b4962018fbc61f2ad44 100644 (file)
@@ -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
 
index 2a347ff4cb8bd6ce6ba871344f0767e32e3cbe73..1616b570278a0ce8f91e0f702007b4f5677aba81 100644 (file)
@@ -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 || openbsd) && (mips64 || mips64le)
 // +build linux openbsd
 // +build mips64 mips64le
 
index 8c29f59bd10b97f02f6a40c5809b0c04b489995d..dcc7f1e9dd5e035e4caae63fbef5d181be917d2d 100644 (file)
@@ -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
 
index 5de93a330ac243b8c8f8d54162bae734ecc310ef..f2225da9a1771d53decc142e532630605f8a5da4 100644 (file)
@@ -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 || linux) && (ppc64 || ppc64le)
 // +build aix linux
 // +build ppc64 ppc64le
 
index 93363a4746d8b0a9108fa35a5855c9016efb40a7..e6b1b14130e53b3960f57152d5b8926da2781759 100644 (file)
@@ -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 && riscv64
 // +build linux,riscv64
 
 package runtime
index 3f70707ab4e3697655aa73a79c03b8d7bbe6f7f1..f2e526973df99dd4c5b1273715549c6bbcd306fb 100644 (file)
@@ -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 runtime
index 33a9b92ee73f1f51b9ca265ed3be6c1587e67331..05bc6f8e71f91af64ee610869eeca72ace93069c 100644 (file)
@@ -1,3 +1,4 @@
+//go:build windows
 // +build windows
 
 package runtime_test
index 28b9e26d0fd43d875fd1830666ef4f40632f7f51..a282c7aca77b89f62fc7504e2dd0511af2f93d69 100644 (file)
@@ -28,6 +28,7 @@
 // unnecessary rechecks of sig.mask, but it cannot lead to missed signals
 // nor deadlocks.
 
+//go:build !plan9
 // +build !plan9
 
 package runtime
index 16aeeb2ef0b41a5e4e60f897eabbab678121ff46..e23446bea47b776bf48189390f2906f3a24f0176 100644 (file)
@@ -7,8 +7,8 @@
 // signal_recv thread. This file holds the non-Darwin implementations of
 // those functions. These functions will never be called.
 
-// +build !darwin
-// +build !plan9
+//go:build !darwin && !plan9
+// +build !darwin,!plan9
 
 package runtime
 
index 38d686544fde9b6b93505ad56bae6594594e4757..dc1debddab3c4f4d90a4187dc15cfdc4999fa8ec 100644 (file)
@@ -2,11 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build !mips
-// +build !mipsle
-// +build !mips64
-// +build !mips64le
-// +build linux
+//go:build !mips && !mipsle && !mips64 && !mips64le && linux
+// +build !mips,!mipsle,!mips64,!mips64le,linux
 
 package runtime
 
index 51ef470ce7ac1ed27e89808e6cef9eaf4d17bc9e..af9c7e56eb907c48785b7ae2f715ea9e51cab00c 100644 (file)
@@ -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 || mips64 || mips64le) && linux
 // +build mips mipsle mips64 mips64le
 // +build linux
 
index 96096d236b8cb23589f58f8ce06e341c64f73b27..525b324c8163bd29ad5485ea53bda1397f5a22f6 100644 (file)
@@ -2,13 +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 !darwin
-// +build !js
-// +build !openbsd
-// +build !plan9
-// +build !solaris
-// +build !windows
+//go:build !aix && !darwin && !js && !openbsd && !plan9 && !solaris && !windows
+// +build !aix,!darwin,!js,!openbsd,!plan9,!solaris,!windows
 
 package runtime
 
index 1885d320510810d5c8eca55668c2b1ab40a4e5d5..b895be4c707519940dc354a892cc69f37b63ea45 100644 (file)
@@ -2,12 +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 !darwin
-// +build !freebsd
-// +build !openbsd
-// +build !plan9
-// +build !solaris
+//go:build !aix && !darwin && !freebsd && !openbsd && !plan9 && !solaris
+// +build !aix,!darwin,!freebsd,!openbsd,!plan9,!solaris
 
 package runtime
 
index e75fcf6c95ca8b4f99a13e72f3d9be70650adf3e..ba267009ca11f8b5e86d1b4871f1b51316be7017 100644 (file)
@@ -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 runtime
index 652e7a9e34b612596b85adaf9a7f76a2977b60b0..05a4d0d38d5f87d0d9312958f06b93eab6d1896e 100644 (file)
@@ -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 runtime
index 707b295f7a5ec85c0ebae641268704344c707465..9bffb35b67e9200e41ba154baa1a04199875af73 100644 (file)
@@ -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 runtime
index e1ea05cf0b15403ede2feb116649d3aad980ce4a..f9b98595fc4403a2ea796a7728cdfc42248bf335 100644 (file)
@@ -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 runtime
index 26f5bb20caa4ba2761e8e4dd7d6f04cce070d73f..0841b413fdb3527d2c5a7b635306c8db66065af8 100644 (file)
@@ -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 runtime
index 996c0321050d807fe7b067a40259802a8669f29a..99d073517b238bc4c798cd2453a1b6490bac23f8 100644 (file)
@@ -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 || (openbsd && amd64) || (openbsd && arm64)
 // +build darwin openbsd,amd64 openbsd,arm64
 
 package runtime
index cb429c31476a9073f5831f72a23d2a33bb53d802..842a4a7084ffe6303cd7fa6f1fda7bd2c781ebc4 100644 (file)
@@ -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 runtime
index 2819218d5f4736e52d4db11e5fa2b4880b541b39..2038eb7d794f9a7b27534b2c9654b319d8fb482d 100644 (file)
@@ -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 runtime
index 440937498f72eda623fcdc9ebde45ba51ea50d66..66821b1f76b06dfe7bee306c66d3cb7cbbd05a06 100644 (file)
@@ -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 runtime
index fcddf4d6a5635884fb4cdd5b61c71b7666dc3ac8..362fa777ef9e31ff5db7f7893c249df5e83842ae 100644 (file)
@@ -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 && amd64) || (openbsd && arm64)
 // +build openbsd,amd64 openbsd,arm64
 
 package runtime
index 44c7871ceb1527cf396a53e3850b64d7b38c783a..43e0058985fa2083b932a436b4e3404f18c72702 100644 (file)
@@ -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 && amd64) || (openbsd && arm64)
 // +build openbsd,amd64 openbsd,arm64
 
 package runtime
index 33032596c3f6884648055af329be3009dfa6d305..73157043beabb6775ca401c0e12b65cc0e819239 100644 (file)
@@ -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 && amd64) || (openbsd && arm64)
 // +build openbsd,amd64 openbsd,arm64
 
 package runtime
index 4d4c88e3acc23b1b285022308e1eeb5dfc323df0..751c00c2b31fdf84dd7041622d8447e0078308fd 100644 (file)
@@ -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 && amd64) || (openbsd && arm64)
 // +build openbsd,amd64 openbsd,arm64
 
 package runtime
index 796f27c4e356c5da7b506406202445fb9769b9bf..69bd99fa09e11de792dc517de2de61bb75992557 100644 (file)
@@ -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 runtime
index 8f21585d28b0f221a26664f693a969a797634e3e..0866e3140e09d092245c323cc1c554fd4a44d726 100644 (file)
@@ -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 || 386
 // +build amd64 386
 
 package runtime
index c64d2994a901303463fc4ceb86831272355977bf..1238744ebf6bfba6bb0a8798e8eb547f00219099 100644 (file)
@@ -2,8 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build faketime
-// +build !windows
+//go:build faketime && !windows
+// +build faketime,!windows
 
 // Faketime isn't currently supported on Windows. This would require:
 //
index 1912a94e873c803fd788fa6da605277062b146f4..13bf1c2d4fb4ddd955f6e9216df9b9756817bc40 100644 (file)
@@ -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 !faketime
 // +build !faketime
 
 package runtime
index 82cf63edffd46374ab639c7f38b2c41bc66b6646..fe38a086fc77745d596e5ee951765525a31335cc 100644 (file)
@@ -4,6 +4,7 @@
 
 // Declarations for operating systems implementing time.now directly in assembly.
 
+//go:build windows
 // +build windows
 
 package runtime
index 459bf8e5435b063b9ba7ebe0485b44720f109866..2ef8d4665fabd9e771ade58af7585e465abcb526 100644 (file)
@@ -5,6 +5,7 @@
 // Declarations for operating systems implementing time.now
 // indirectly, in terms of walltime and nanotime assembly.
 
+//go:build !windows
 // +build !windows
 
 package runtime
index 68777ee4a90c752d1537a1a3b718d5b11fa8c85e..53b10885afc9a609190f120c354b36393c6804a0 100644 (file)
@@ -2,12 +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 !darwin
-// +build !freebsd
-// +build !openbsd
-// +build !solaris
-// +build !windows
+//go:build !aix && !darwin && !freebsd && !openbsd && !solaris && !windows
+// +build !aix,!darwin,!freebsd,!openbsd,!solaris,!windows
 
 package runtime
 
index 2720f33eedec8065452a7df5119fa7bd14b60512..456173b0f51c147de0fc8bf8ea912c081de10652 100644 (file)
@@ -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 || arm)
 // +build linux
 // +build 386 arm
 
index 6ded9d621a67e83cb783f8fc5cb96db1bb18b3a6..9923bd46971e5f2bc971c3cd448e5bfc7ccc19c1 100644 (file)
@@ -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 && (amd64 || arm64 || mips64 || mips64le || ppc64 || ppc64le)
 // +build linux
 // +build amd64 arm64 mips64 mips64le ppc64 ppc64le
 
index 122cc8b128a0954b470a83241c0cf32d1a4e937d..74b2f1435a192f4d9d8e785f6ed5272a34228c65 100644 (file)
@@ -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 runtime
index 1fa5d80dcc00e82e4d3bca8bfdf8bfcf64cb07de..23a5a8c322707a3b94201d47db6c86f0e3841a60 100644 (file)
@@ -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 && (386 || amd64)
 // +build freebsd
 // +build 386 amd64
 
index 7f4019c0d62689542ea497639d777ddaee8b1202..c66fbf821669fd6425e3739c07b1df0b9643c0a3 100644 (file)
@@ -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 && !amd64 && !arm && !arm64 && !mips64 && !mips64le && !ppc64 && !ppc64le) || !linux
 // +build linux,!386,!amd64,!arm,!arm64,!mips64,!mips64le,!ppc64,!ppc64le !linux
 
 package runtime
index 6e2942498dde1778f431ce80e74633b9caa64f89..ae211f96b1b058c2766c923b3001b395682d9f57 100644 (file)
@@ -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 || amd64 || arm || arm64 || mips64 || mips64le || ppc64 || ppc64le)
 // +build linux
 // +build 386 amd64 arm arm64 mips64 mips64le ppc64 ppc64le
 
index 3a0f94761246b4db6bde849c2e661f77676de49a..395ddbba69a730aab8872b3e6e2a6c810c0910ce 100644 (file)
@@ -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
 
index f30946e4c5b3162d2fd4c653e9c1d27985d8acec..b741dbfcdc527d9f9a55fdb37c36acdb110c0cb9 100644 (file)
@@ -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
 
index 996c0611fd1b41ba9c71eb02c36dd1ecf533c184..cf631bdcca7d245c749f4ccb76c48b1b50ee37c1 100644 (file)
@@ -23,6 +23,7 @@
 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 // THE SOFTWARE.
 
+//go:build arm || 386 || mips || mipsle
 // +build arm 386 mips mipsle
 
 package runtime
index cf3327c6fe78c43d4412fd645368e374cbac24e7..56f0674f4e2161e4829cf2d934c8eaa674e0c668 100644 (file)
@@ -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 Windows callback assembly file.
index 6b1467b1c48aefe65671e7354262cdec2b853780..a4656fd72810d7b8d9a30695a732a5cdd11918aa 100644 (file)
@@ -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 !android
 // +build !android
 
 package runtime
index e7eb5737371f9e5a0b017231a1b39c8044d8e6bd..ed04e33568f4c6f6b5a7fa04790c76f7da29b10a 100644 (file)
@@ -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
 
 // This program is run via "go generate" (via a directive in sort.go)
index bf24db714a308ac6a3e7b3cc10ed5cc86813bb87..53542dbd1a9b97cf97d6d16110332cec18b0a9c8 100644 (file)
@@ -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.13
 // +build go1.13
 
 package sort
index 3bf5cbc00bf339f332b726abc030ae20909f0130..5d5949f3cade56f2df3cf32a8a3f48417e58d3a5 100644 (file)
@@ -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.8
 // +build !go1.8
 
 package sort
index e1766040a78a567736c1a202593b84624cff3756..1538477bc5d205d815a97289c2a4bb5ba623d238 100644 (file)
@@ -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.8 && !go1.13
 // +build go1.8,!go1.13
 
 package sort
index 7f66f2a8bbc8c45218d893b453e1b41a23104f0a..9780c28ef3307a6e5bb7bfc557271d29500d04e7 100644 (file)
@@ -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 !compiler_bootstrap
 // +build !compiler_bootstrap
 
 package strconv
index a3a547d1b639a87cdddd4aecd0c5635f8f810549..875a0eb147a4627af4b4e32ef91c5279099d38e8 100644 (file)
@@ -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 compiler_bootstrap
 // +build compiler_bootstrap
 
 package strconv
index 0e6e90a6c66e0b80dc9ad09050fe1aaea50aa0e8..79678341d4639b0837e9b98ba1bba21051ddd658 100644 (file)
@@ -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
 
 //
index ad98350b2bfa4e9c28306b21f5f20ae9b882b0a9..65666daab48e66fb3522ccd1bac095e893b4dca7 100644 (file)
@@ -3,6 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // Pool is no-op under race detector, so all these tests do not work.
+//go:build !race
 // +build !race
 
 package sync_test
index f10c4e8e0ef3e7e9ee4aefa27825f6a0b7e47296..c4b44893f0e7659f197834b804fd967c6f888560 100644 (file)
@@ -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 !goexperiment.staticlockranking
 // +build !goexperiment.staticlockranking
 
 package sync
index aaa1c276261e29a7e34cc014467301cc9d2d226a..e91fdb6c1ff46d95036740f6a7dea6cfaa2eec48 100644 (file)
@@ -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 goexperiment.staticlockranking
 // +build goexperiment.staticlockranking
 
 package sync
index f67ee6064bf73edf075ff1d32d066c58a5af20a9..452d4cf14b6b13b52c55ef235d6ea1b2b0b60f9f 100644 (file)
@@ -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 || netbsd || openbsd
 // +build dragonfly freebsd netbsd openbsd
 
 // Berkeley packet filter for BSD variants
index 524689ae2d233902018914c4bbb510ba08aa0105..463033d558066abf728f20aa11d1571537db4db8 100644 (file)
@@ -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 syscall_test
index fab123d4a7d8bc8e75187ab95cfb2bb9a7eac14e..9e1222e81c6dfccaa2aa056b0ec70f643fac76b6 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris
 
 package syscall
index 7dac98ff4b960ed572e77e1ccb31a41b83494a50..8ed3caa9d4831859d0bf576d52fc5d282940e9fb 100644 (file)
@@ -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 syscall_test
index 3c26005ab5f1dd92c466c96d33f9a40468ad154f..dc0947fa6e84b3b3fd109f6bb08a1aab80e3e70a 100644 (file)
@@ -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 || s390x || mips || mips64
 // +build ppc64 s390x mips mips64
 
 package syscall
index 43b081d640822ddcb895e4e9f2fb66e645fca5f7..a894445f73cb518b12e56dfef71026c47eb931a7 100644 (file)
@@ -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 || arm || arm64 || ppc64le || mips64le || mipsle || riscv64 || wasm
 // +build 386 amd64 arm arm64 ppc64le mips64le mipsle riscv64 wasm
 
 package syscall
index a4bb28cc455b8ab05bede23c717cc3bc2fb47b19..022ef6ed7342c6f0c5508d05677deda6e64d3918 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris || plan9
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris plan9
 
 // Unix environment variables.
index 22b752cf271d4aa56324ad6bb9c4410a734a0236..17c7ac0664a0a878deb4bad32b6f0a796f250aeb 100644 (file)
@@ -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 syscall
index 940a81b58ee90fbad19aa9b5c475004d60183364..9c1fbbaeab02f73fdd7ff02c06674ab5cd08fb42 100644 (file)
@@ -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 || netbsd || (openbsd && !amd64 && !arm64)
 // +build dragonfly freebsd netbsd openbsd,!amd64,!arm64
 
 package syscall
index 37228583252d5c7f5dba1c1b8541e50e4cc99376..3c8e87d32f05c3c183bbe113bd935c68f492919c 100644 (file)
@@ -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 || solaris
 // +build aix solaris
 
 // This file handles forkAndExecInChild function for OS using libc syscall like AIX or Solaris.
index 45d3f85baff9ac3c74adec26cc5df145eee89708..507eff8ab3022d0c504da09d09941a35cf3660be 100644 (file)
@@ -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 || (openbsd && amd64) || (openbsd && arm64)
 // +build darwin openbsd,amd64 openbsd,arm64
 
 package syscall
index b6acad96ea450614b5cd51df968de30128ad4749..b0099cb4b0cd3ad2403a10dfc28b2844b5d3ca09 100644 (file)
@@ -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 syscall
index ac3a5754ae3cddb9f35215326ec207c76b8700fd..7d89eaae63ae913be062acf6d8f96a59dfd83ca6 100644 (file)
@@ -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 syscall_test
index 6b8f1ad3837fc39507f96b3425e6f88e794a2ddb..f54fc8385d59200e6933d4dfcc49e7d07e6a37c3 100644 (file)
@@ -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 syscall
index 1f49c78ef9d7e276621e59f3cf596f62565a5a8d..1f38de22b281c699254db3caabf44a765a6e8768 100644 (file)
@@ -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
 
 // Fork, exec, wait, etc.
index d6b6f51fa6ebfb6b9096ae43776e6eacefb7a47c..10bad5ac468d5b19c1d576725656b8cce39b466d 100644 (file)
@@ -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 syscall_test
index 4c3d0f6d2ada2111420ff1f3e131cdb2628d8850..2d2c67673d7887fc0b81c04bb12ee99445efd316 100644 (file)
@@ -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 syscall
index 568efca7d49506b3a4cdb8d33df95d9d9c9462d0..3b43b6aeded16e928baba8bcb46874e2c89ad4eb 100644 (file)
@@ -1,3 +1,4 @@
+//go:build linux || freebsd || openbsd || netbsd || dragonfly
 // +build linux freebsd openbsd netbsd dragonfly
 
 // Copyright 2014 The Go Authors. All rights reserved.
index e11aed6ed1a6e0380366131472301ea63d190b7e..2f3277497cd577946fba274ee5b53aaa01782b14 100644 (file)
@@ -5,6 +5,7 @@
 // If you change the build tags here, see
 // internal/syscall/unix/fcntl_linux_32bit.go.
 
+//go:build (linux && 386) || (linux && arm) || (linux && mips) || (linux && mipsle)
 // +build linux,386 linux,arm linux,mips linux,mipsle
 
 package syscall
index d9999cb8b860b95327646b32f7fb1a11ec8f1f19..c7ddcf26ab7c44af25c7ebdeeb2ada5b643659ee 100644 (file)
@@ -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 || solaris
 // +build aix darwin dragonfly solaris
 
 package syscall
index c9a0c4996e3bbbdffca63a36987ad1c50214ad35..cd98779ac9edd5137e9e6d467093915ad69214e7 100644 (file)
@@ -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 || openbsd
 // +build freebsd netbsd openbsd
 
 package syscall
index 673feea77f24ac9dd8ca5769511d597bbe154f46..0170516201473f85afc8e7ecc49a92ba65194b91 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package syscall
index 66bb8acba2ea07507d6654e62e924900d2ce2023..936c8a163a1b9b6306f4507e9a6d9b21c3c693a7 100644 (file)
@@ -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 || netbsd || openbsd
 // +build darwin freebsd netbsd openbsd
 
 package syscall_test
index e53d14bed10b26e386fc602e04e6e822f2dc7be9..39461145e99b1afd9eb06326d7541bc7022643e9 100644 (file)
@@ -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.go generates assembly trampolines to call library routines from Go.
index ef89128310bfee5bd7b101e8d6d98fe55680dd39..94e8d92eff86c0e03df88125c1848f2d6f9f266f 100644 (file)
@@ -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
index 240254b2c76ee55010a92590b5779bdf624e02c2..d8e8a713c554ccea104e077e77aed836381d1c4a 100644 (file)
@@ -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
 
 // mksyscall_windows wraps golang.org/x/sys/windows/mkwinsyscall.
index d0b3644b59cb25992b432f3f3de02d37419b4d35..e3909f1afb05fd9449b62a70cb28b35ce606c8b8 100644 (file)
@@ -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
 // +build aix darwin dragonfly freebsd linux netbsd openbsd
 
 package syscall_test
index baaad6df984cbf93f3489df2bb488375736792d5..89fb75f03c9d965614b59b18c57bf3c8dd122922 100644 (file)
@@ -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 msan
 // +build msan
 
 package syscall
index ff10be9d25d59c1a801d91033e18af4085bfb11b..85097025a0bdbec1e49eb1b32ed46838dd3ab7a6 100644 (file)
@@ -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 !msan
 // +build !msan
 
 package syscall
index 25f171bda870a5c0c1815ac1d50034cb674906bd..ed462025bbc88c1d3f5e4972e51320ba1c726b25 100644 (file)
@@ -5,6 +5,7 @@
 // js/wasm uses fake networking directly implemented in the net package.
 // This file only exists to make the compiler happy.
 
+//go:build js && wasm
 // +build js,wasm
 
 package syscall
index a873d826b8ad426a0e3c06f81743ccc7054c1de7..b968c7c7f3a910de8b1c942e7d60c531386f832c 100644 (file)
@@ -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 syscall
index b364eeaba5dc0570ea3204bf5cc49fb5a967806f..e9321a4e645596167f68a26436478dc64914b975 100644 (file)
@@ -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 syscall
index aed8682237a033f21387cf94d468edfad59b455e..412833a37cb2d5a05f33b41c0c68669eb066e8ce 100644 (file)
@@ -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 && 386) || (freebsd && arm)
 // +build freebsd,386 freebsd,arm
 
 package syscall
index e70ba3df8969077454eea3eafbeb66b9f731ce72..5300bed47173852ac5d7f0f822fb5f32ac739f99 100644 (file)
@@ -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 && amd64) || (freebsd && arm64)
 // +build freebsd,amd64 freebsd,arm64
 
 package syscall
index b0b7f61d221e86ca9f53233599b6c326a0eec84c..64897fe43c6408e18522da062b8ca9ab45ae9acf 100644 (file)
@@ -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 || arm)
 // +build linux
 // +build 386 arm
 
index 38c83c92f9748ecedf6520f84f6385a209cc30c4..3b36f66fa2639d355bc3c0e01208a45147570839 100644 (file)
@@ -2,8 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build linux
-// +build !386,!arm
+//go:build linux && !386 && !arm
+// +build linux,!386,!arm
 
 package syscall
 
index 1ff97a5ae1bd4b6add903cb60c8f0d175c99918e..99913b9a88bdc0063ccb78cdad00a5b5c53d988b 100644 (file)
@@ -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
index 40f03142a6391a95e92478c4a78d1e132cab3ac8..bd8dcfa34cf7efbb37466cf7da25b0e153118e96 100644 (file)
@@ -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 syscall
index 1c7ec588bcf3f728bece9d68c110aac5d9bbd722..595e705856ec3f407f3c77fe974e155736b298a9 100644 (file)
@@ -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
index f2bc3f5147084494d790ff7eb8841d36935a2373..2d8a8cbfe6125bfe2fe3d3323e72368ad42c76a9 100644 (file)
@@ -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 syscall_test
index f03a92311277b7257500e1d1ca5760777116b894..351a96edc18c2fe59e057fbd53b93a6b5d547133 100644 (file)
@@ -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 !android && (386 || amd64 || arm || mips || mipsle || mips64 || mips64le || ppc64 || ppc64le || s390x)
 // +build !android
 // +build 386 amd64 arm mips mipsle mips64 mips64le ppc64 ppc64le s390x
 
index 1ebdcb20a2ea0595706dfa966b954edee48ac1ff..66ec67b0ab4a928160b8de706af885367eba5301 100644 (file)
@@ -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 android || arm64 || riscv64
 // +build android arm64 riscv64
 
 package syscall
index 3ccfe5d463f0e8eba5f02aea7e4fd2beaed08e1f..89c7959d0c43ac3e81b0e9d70722fe8c48dc43fe 100644 (file)
@@ -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 syscall_test
index d70a436d13e93653f915e393f823c47f253c9ae9..ef95fe58f7c58cd70ead9ba6429b3af5f02b083d 100644 (file)
@@ -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 illumos
 // +build illumos
 
 // Illumos system calls not present on Solaris.
index 0ab8c3fba4c344f207a2ba923f215def5a4ced02..c17c6fcdcf356b0d63886af69e90e55bb45f1493 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package syscall
index ab25b7be6f1313579973f7d6493239cd1dbd52b0..dd51f3d00a5c8891cd6a9877e99160a416588b9d 100644 (file)
@@ -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
 
index 377946fc92dd0b7103839228c4d5661fc47d6371..7894bdd46536d2b38d8bfc0d1b0c78237c028279 100644 (file)
@@ -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
 
index 45bf667407fef8782045a2a1fc0087c69a47fb3e..495ae29757cac649b2a3b9cb754a0be19d1ff1e2 100644 (file)
@@ -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
 
index 2c7d0f8c904d1171c258e0278fb59d16e54ef825..0d6761d49ea0f58488540c0c790a18298358ea75 100644 (file)
@@ -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 && !amd64 && !arm64
 // +build openbsd,!amd64,!arm64
 
 package syscall
index 042615bf2adc42ed8e946c72186d010cff767a34..610c66fd349b220aed21d7ed9e05863da6cb4f4f 100644 (file)
@@ -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 && amd64) || (openbsd && arm64)
 // +build openbsd,amd64 openbsd,arm64
 
 package syscall
index 6b7f54dcfd5c8d3881aad5b57d50187d916dd622..45729d9e8e9698b187aced0e53eb75f79d0bd54c 100644 (file)
@@ -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
 // +build darwin dragonfly freebsd linux netbsd openbsd
 
 package syscall_test
index 786ad34170dc03a3786f697634294aa95c843d95..40fc8b8a3028050de38b5952a3ce3d4c782a4857 100644 (file)
@@ -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 syscall
index 7e6a8c9043e880d21b9758f2939331414c34c030..a05fff5136195c2474284ab428b320c0d519559a 100644 (file)
@@ -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 syscall_test
index a7c4f8c890fbdb8261129ab820e6790b25a0d417..64d958415d8f8be750a355e1cc40b258270a7070 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package syscall
index 5dec57a25acc496d417dae4ef8481156e7305761..cf88aeb921a1621891a01258995357db53022df4 100644 (file)
@@ -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 faketime
 // +build faketime
 
 package syscall
index c94cef86862b3d722000187f7f777531e2789862..5eaa2daabd3f0537d95b5f759c78e05d4a866d2c 100644 (file)
@@ -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 !faketime
 // +build !faketime
 
 package syscall
index bca51df08df85eab0f8d7da97772ae7e8d38bc79..e4f3d50f56b68bb23bcea2db498d89b475f968aa 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris
 
 package syscall
index cbc47cc6c1b469d10c0929414789ddc8a3891bfc..6588d690eabd68a088ea95191eb4f4bd0eec3dc7 100644 (file)
@@ -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
 
 /*
index 7b3a9d233536e113ca3d355048f23e0b22cbd0c7..c2a32c0782edaec711eea9b173e047482766c56b 100644 (file)
@@ -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
 
 /*
index 53bc12403b2fabd67f17af855ede52a9c6cb87c2..9f8d5bc3ddc06e5a75899d29c316ab6eb255c6b1 100644 (file)
@@ -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
 
 /*
index f6860211211bf66b044ac882e6ef04d076c02392..d7414117036779dcd7e96997eca38346d7ef2cdb 100644 (file)
@@ -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
 
 /*
index abb282f3e4fedd196c7a99bfdd26dbbc5d36c2a7..254e3e7cfeddb4ba6f67941d8c78d5539227df5d 100644 (file)
@@ -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 illumos
 // +build illumos
 
 // Illumos consts not present on Solaris. These are added manually rather than
index 9de32d9c013a7f6c7401bb9a55bf211f3096da87..bf76be978bce1f6e309ae7ca0b12a71433e64e9b 100644 (file)
@@ -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
 
 /*
index 30ab2dc8458123d7423cf9a4ffbd3421b37b387f..0bd25ea3c953d82796c364c5bf18527e95c6caec 100644 (file)
@@ -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
 
 /*
index 922864815bc7d0cddf29493bbf397c675cbeb650..8b41cdca230bf5b525e275a9dd0e41a60761b81f 100644 (file)
@@ -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
 
 /*
index 76a74508d2b4edaa1623991d378f06e70667181d..179f7914817e85ecbf5974a3e9fdd29f33957b60 100644 (file)
@@ -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
 
 /*
index 58799fbde794b3149dac90b1dac6a7ca40dd27c6..0b9897284c4d447af040193172dab90a29d5db57 100644 (file)
@@ -4,6 +4,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs -- -m64 _const.go
 
+//go:build amd64 && darwin
 // +build amd64,darwin
 
 package syscall
index 8b433616ee6fdb8618974205569fff45f368c06b..5f210fd1c40b2a1878db0078695bb6738402fbea 100644 (file)
@@ -4,6 +4,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs -- -m64 _const.go
 
+//go:build arm64 && darwin
 // +build arm64,darwin
 
 package syscall
index 3434a85d34f7aba513fbfb19421ae2376f0f624a..b572f44a6b92f7a3768b705b839bed0c9f602461 100644 (file)
@@ -4,6 +4,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs -- -m64 _const.go
 
+//go:build amd64 && dragonfly
 // +build amd64,dragonfly
 
 package syscall
index 85786a5b4e5249e950dc7cd237dd8827ec3ca26e..aec26ad7785c8ff630c7f0c421b0ba74d6f62ec5 100644 (file)
@@ -4,6 +4,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs -- -m32 _const.go
 
+//go:build 386 && freebsd
 // +build 386,freebsd
 
 package syscall
index b3ebf3d4744e112e2e1584f415b90c03968bc875..d6d13e4155865c5127c9849eb46e7e978e9db77f 100644 (file)
@@ -4,6 +4,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs -- -m64 _const.go
 
+//go:build amd64 && freebsd
 // +build amd64,freebsd
 
 package syscall
index 29eabb1d2d941b4891eee57ee2ceaea01c5b7b9e..15c714fad810731547b6ada3eed9f90ee18a2b07 100644 (file)
@@ -4,6 +4,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs -- _const.go
 
+//go:build arm && freebsd
 // +build arm,freebsd
 
 package syscall
index 82ee1584789b1ed263c5f30a4b82d0f45a7e3cc3..b20ce7d82319e218eeb683269bf560bc63b0ffaf 100644 (file)
@@ -1,6 +1,7 @@
 // mkerrors.sh -m64
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build freebsd && arm64
 // +build freebsd,arm64
 
 // Code generated by cmd/cgo -godefs; DO NOT EDIT.
index 53a442d1080c9c328782c9531b8edc3c01479502..fb64932ad620945d8c3ab0c82c38793c5ac36503 100644 (file)
@@ -4,6 +4,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs -- -m32 _const.go
 
+//go:build 386 && linux
 // +build 386,linux
 
 package syscall
index 0b4c60dd4c46eaec0fdd1628f85d0335c3336334..3a92bcdbb46b1e939787f25ebcd915da5cbc18e9 100644 (file)
@@ -4,6 +4,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs -- -m64 _const.go
 
+//go:build amd64 && linux
 // +build amd64,linux
 
 package syscall
index 9a8d9e8579565536e53d2bd32b207f2361977d3e..e013d8e7fd682fde0b041f9c37d2e11dad46ff02 100644 (file)
@@ -4,6 +4,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs -- _const.go
 
+//go:build arm && linux
 // +build arm,linux
 
 package syscall
index f0caf552b2ffa450859f58b63b1f12029b7553a0..1a4d33e3fd5cc95949e0ca057acecee74bd350a7 100644 (file)
@@ -4,6 +4,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs -- _const.go
 
+//go:build arm64 && linux
 // +build arm64,linux
 
 package syscall
index f064731ae5fa7b00209e125c6c7f4fa715f2d2e2..1dda43be70fc259a2ba873d0afe45df1ef93ce5c 100644 (file)
@@ -4,6 +4,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs -- -m64 _const.go
 
+//go:build ppc64 && linux
 // +build ppc64,linux
 
 package syscall
index 41e21a510e8b9d005f15b7e921b32a767c1f26d7..6d56f1c99817c25d1666e5aad9a27f758308a269 100644 (file)
@@ -4,6 +4,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs -- -m64 _const.go
 
+//go:build ppc64le && linux
 // +build ppc64le,linux
 
 package syscall
index bf1e4a74c3dfdcb997fcb32e0923bdccca77f0d9..6a58946a4a86ccc814344032d52479812aad3417 100644 (file)
@@ -4,6 +4,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs -- -m32 _const.go
 
+//go:build 386 && netbsd
 // +build 386,netbsd
 
 package syscall
index 247e78e6c608cb1b1a88f62cd08bf204f0605cbf..f5c5c2f49c8832bde4c16365715a6b0fa38a86bd 100644 (file)
@@ -4,6 +4,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs -- -m64 _const.go
 
+//go:build amd64 && netbsd
 // +build amd64,netbsd
 
 package syscall
index f23cd8693f9fa3cb5b89e44be61493b0c89412da..c9d4579b41616f9e71bf3a4b02c0f5bd44683565 100644 (file)
@@ -4,6 +4,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs -- -marm _const.go
 
+//go:build arm && netbsd
 // +build arm,netbsd
 
 package syscall
index 6f6453f6ee4241e98d38e730fa503d1c753f0042..e35bff7f3eea638a06a95ebeec8bf183aad63a3d 100644 (file)
@@ -4,6 +4,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs -- -m64 _const.go
 
+//go:build arm64 && netbsd
 // +build arm64,netbsd
 
 package syscall
index 7985abe3f01e432417c3a21e2677781b78f92ec6..04d1b3f1775887342f5d1c7d7316bc8b5ad77019 100644 (file)
@@ -4,6 +4,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs -- -m32 _const.go
 
+//go:build 386 && openbsd
 // +build 386,openbsd
 
 package syscall
index 9c4ff2955fd5574b8143e9287343fd5d70eed50f..923a3a47c5ebb3f8bf402e5e70b1b7befc7a75fd 100644 (file)
@@ -4,6 +4,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs -- -m64 _const.go
 
+//go:build amd64 && openbsd
 // +build amd64,openbsd
 
 package syscall
index 493a8389f2ba5bf01fefba7aacfc04e5795f5239..89a4e6d89a54b56f04bf2d15aa719b48c7269fd4 100644 (file)
@@ -4,6 +4,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs -- _const.go
 
+//go:build arm && openbsd
 // +build arm,openbsd
 
 package syscall
index eba401544afd205a596d9080281039e84acf659f..b7dee696029654eea3992e4e3cd4a42233cbdb09 100644 (file)
@@ -4,6 +4,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs -- -m64 _const.go
 
+//go:build amd64 && solaris
 // +build amd64,solaris
 
 package syscall
index 20625c1a3e01a33792b594d081ed92ff0dd8a702..134ae41165bd76cd33afecea1d65c2b1f2bdc6ff 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall_libc.pl -aix -tags aix,ppc64 syscall_aix.go syscall_aix_ppc64.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build aix && ppc64
 // +build aix,ppc64
 
 package syscall
index 4f2cdf861e2464c76510ba7473cff8354a38cdcd..13dfacdba2e49b29d9244b9ae19074c8220bd492 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -darwin -tags darwin,amd64 syscall_bsd.go syscall_darwin.go syscall_darwin_amd64.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build darwin && amd64
 // +build darwin,amd64
 
 package syscall
index 0d8598d8165e24907303a5630e19c9f278ad55bd..79576eedf7a5c03d172b20d1909b0bf60a729844 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -darwin -tags darwin,arm64 syscall_bsd.go syscall_darwin.go syscall_darwin_arm64.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build darwin && arm64
 // +build darwin,arm64
 
 package syscall
index 578b5a3e9e4b9e332a77c7d956c850dae3e122b3..4799d1dcb01132472487870f6aafe521662338e6 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -dragonfly -tags dragonfly,amd64 syscall_bsd.go syscall_dragonfly.go syscall_dragonfly_amd64.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build dragonfly && amd64
 // +build dragonfly,amd64
 
 package syscall
index ddc265f1901111da7c16859e16487dcf76da037f..7137d66f0b232f710cf5d4e9a861c9215df042ad 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -l32 -tags freebsd,386 syscall_bsd.go syscall_freebsd.go syscall_freebsd_386.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build freebsd && 386
 // +build freebsd,386
 
 package syscall
index a0f79522b98d0cfe2ac377479cbf65e4c806f05a..d721dafde28b7acd47838618ce5886b728833ab8 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -tags freebsd,amd64 syscall_bsd.go syscall_freebsd.go syscall_freebsd_amd64.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build freebsd && amd64
 // +build freebsd,amd64
 
 package syscall
index 2cd23d3db63bd598d4b449fe554cd3f561469bc9..d9dbea921a141194ababeb30feab15497e85b3cf 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -l32 -arm -tags freebsd,arm syscall_bsd.go syscall_freebsd.go syscall_freebsd_arm.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build freebsd && arm
 // +build freebsd,arm
 
 package syscall
index 1b177383c219e69ebef4f25c845b6384e4e19d24..a24f0115e2ce09595bec7818eb704443f3a24de7 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -tags freebsd,arm64 syscall_bsd.go syscall_freebsd.go syscall_freebsd_arm64.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build freebsd && arm64
 // +build freebsd,arm64
 
 package syscall
index 5a749ff3f37db7907cd1a480131fe7ce423d95bb..ac822d6f7a435dde180689e7f217f90e1c972cd8 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -l32 -tags linux,386 syscall_linux.go syscall_linux_386.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build linux && 386
 // +build linux,386
 
 package syscall
index 34b624c1d496427583fe348302d4c939fa116b39..ed37fa8decaa08bb6d3f6416ba623176654424d8 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -tags linux,amd64 syscall_linux.go syscall_linux_amd64.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build linux && amd64
 // +build linux,amd64
 
 package syscall
index 4d133766f7e4a78bef24b9114fd6ae91ef5a5d4a..213aaf3bac40a18ab11647ee6e3ebbb16c3dbf81 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -l32 -arm -tags linux,arm syscall_linux.go syscall_linux_arm.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build linux && arm
 // +build linux,arm
 
 package syscall
index e7f7b7e3f8c241588f187c5cd8d95afa5c83ce4a..e2f9c0fd9b06e2cd0d60fbdb8dc8ce6170698001 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -tags linux,arm64 syscall_linux.go syscall_linux_arm64.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build linux && arm64
 // +build linux,arm64
 
 package syscall
index a8522dc571100424067770d3c2aa021f05241769..617c2f54663309179f6182694c4102734bdbf887 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -b32 -arm -tags linux,mips syscall_linux.go syscall_linux_mipsx.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build linux && mips
 // +build linux,mips
 
 package syscall
index 1219fcc6cb057ead27cbb45d9d7b2956101c233f..793d4b98846a4e7691c946eb3af2ab7b6d93d5e1 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -tags linux,mips64 syscall_linux.go syscall_linux_mips64x.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build linux && mips64
 // +build linux,mips64
 
 package syscall
index c3737bf3cfbe1ebc04aceaae1f60d8de6dbaa9dc..54e1760bda6d081a01cf174d439962273e1a14ce 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -tags linux,mips64le syscall_linux.go syscall_linux_mips64x.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build linux && mips64le
 // +build linux,mips64le
 
 package syscall
index 5006f4a4099df7b016faf77b9c78924a5ddf6b6c..ba7e2118c04e5769079a61229255a798b2ac247f 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -l32 -arm -tags linux,mipsle syscall_linux.go syscall_linux_mipsx.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build linux && mipsle
 // +build linux,mipsle
 
 package syscall
index 323be988beb30d9130224f06730cc2b198743b56..c3437722e02f50c49e40ebdb05a9b4d486eedc11 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -tags linux,ppc64 syscall_linux.go syscall_linux_ppc64x.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build linux && ppc64
 // +build linux,ppc64
 
 package syscall
index 99aea6b559a980c860a2ab30696f00c30b36a4ff..acc34a76d2b6315a3f864773c5131191445531b2 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -tags linux,ppc64le syscall_linux.go syscall_linux_ppc64x.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build linux && ppc64le
 // +build linux,ppc64le
 
 package syscall
index afa8945944180d4f661a717388fc020054759d0c..d662d780db9d8fd8c3eda1de74b5816c0e548922 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -tags linux,riscv64 syscall_linux.go syscall_linux_riscv64.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build linux && riscv64
 // +build linux,riscv64
 
 package syscall
index 5717206f289613a4d3145e5349c7eab2351e9f91..20f8c61366ca1eef8721a36a00c523a5351b9fc8 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -tags linux,s390x syscall_linux.go syscall_linux_s390x.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build linux && s390x
 // +build linux,s390x
 
 package syscall
index 7e0210081e8245fb485b9350cf31ebc9f699618e..07ff5fba5f6a511feb5b368cbc06571fdc10d5ef 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -l32 -netbsd -tags netbsd,386 syscall_bsd.go syscall_netbsd.go syscall_netbsd_386.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build netbsd && 386
 // +build netbsd,386
 
 package syscall
index e9ee790501fc061c2caebac65b0a2dbf2528d2e4..ffb4e059a4b5aa64781b50448bd5c465c1a268cb 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -netbsd -tags netbsd,amd64 syscall_bsd.go syscall_netbsd.go syscall_netbsd_amd64.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build netbsd && amd64
 // +build netbsd,amd64
 
 package syscall
index 37438b020b4ea55bb89863c3c4bf7550d948e453..37df77e5e8cbbf1dd7eb68c6b1b7423284fe83bc 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -l32 -netbsd -arm -tags netbsd,arm syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build netbsd && arm
 // +build netbsd,arm
 
 package syscall
index 758f3982288d0e28a064046496ec5c7294f508aa..c5eb57a2269d6ff73eea66f5d7b9a636ae6201bc 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -netbsd -tags netbsd,arm64 syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm64.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build netbsd && arm64
 // +build netbsd,arm64
 
 package syscall
index decd169f0dc471f76631a5315a6d58a3bf78e75b..7d4c4d342ab9097ae3cfe652a33545a7c30da91d 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -l32 -openbsd -tags openbsd,386 syscall_bsd.go syscall_openbsd.go syscall_openbsd_386.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build openbsd && 386
 // +build openbsd,386
 
 package syscall
index 733050ad1d8279d11dc18d7e397ad15339f83ced..b4698b79e224a9976d81476a1753ba39d544738e 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -openbsd -libc -tags openbsd,amd64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_libc.go syscall_openbsd_amd64.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build openbsd && amd64
 // +build openbsd,amd64
 
 package syscall
index dce0a540e625ea16fd9c6b147fbb5cfbad475c03..31425b355883e6b03808a52d917de4696c3141d6 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -l32 -openbsd -arm -tags openbsd,arm syscall_bsd.go syscall_openbsd.go syscall_openbsd_arm.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build openbsd && arm
 // +build openbsd,arm
 
 package syscall
index 2093eb74e57f9699595f944181759f04fcb77e11..de6db1e3fa4548c9bc4d72e37f54acc52bc3c8a2 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -openbsd -libc -tags openbsd,arm64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_libc.go syscall_openbsd_arm64.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build openbsd && arm64
 // +build openbsd,arm64
 
 package syscall
index ded05686c47a392ceabd66405f1bfbf859a1d21d..70fd1474fd3f9b88e9f3cdd3f5b16edd7134b832 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -openbsd -tags openbsd,mips64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_mips64x.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build openbsd && mips64
 // +build openbsd,mips64
 
 package syscall
index 998c6c555e4b5f55aa90f5bd52056889e4af6f8c..8b7727b3435e88d4fc0824b31bc0d343e2303632 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -l32 -plan9 -tags plan9,386 syscall_plan9.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build plan9 && 386
 // +build plan9,386
 
 package syscall
index 02a28294ea3027c653fce753007377cae015c19d..bed9108ea6e2d5e242a73e07a30443db5d2a538d 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -l32 -plan9 -tags plan9,amd64 syscall_plan9.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build plan9 && amd64
 // +build plan9,amd64
 
 package syscall
index 449823976dde1dda6514c04b766ca969cee32877..7bbcf9b4b795065e600d47168d3ece2d579bd8cd 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall.pl -l32 -plan9 -tags plan9,arm syscall_plan9.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build plan9 && arm
 // +build plan9,arm
 
 package syscall
index 446ebfc503d8e405f527b19a2bd9410dee5eb442..9b37dc09506f2860c011fbea13d65a62ecdf18cf 100644 (file)
@@ -1,6 +1,7 @@
 // mksyscall_libc.pl -solaris -tags solaris,amd64 syscall_solaris.go syscall_solaris_amd64.go
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build solaris && amd64
 // +build solaris,amd64
 
 package syscall
index a2331bee8a87b641a7bce53dbfe827e884d163e9..f66f7d2715feba2ce0dc68f9e45157fb26bf6df3 100644 (file)
@@ -1,6 +1,7 @@
 // mksysnum_darwin.pl /usr/include/sys/syscall.h
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build amd64 && darwin
 // +build amd64,darwin
 
 package syscall
index 95487179450ae4f1a57439cc9daa3182bb3d51d6..6fa146368aff59ca847f7c520b1b0e468c4bdd35 100644 (file)
@@ -1,6 +1,7 @@
 // mksysnum_darwin.pl /usr/include/sys/syscall.h
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build arm64 && darwin
 // +build arm64,darwin
 
 package syscall
index 9ce11f5899f9f3219871c39012c6163407b12017..855188f045cb8379be6feddd177d4afe8e91ee02 100644 (file)
@@ -1,6 +1,7 @@
 // mksysnum_dragonfly.pl
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build amd64 && dragonfly
 // +build amd64,dragonfly
 
 package syscall
index bb6e9d7ac3399d4579ff1d53c7884d2b5919243a..1ed7e3ee8d3e3d7c70107ae5afa6b0395d0b350f 100644 (file)
@@ -1,6 +1,7 @@
 // mksysnum_freebsd.pl
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build 386 && freebsd
 // +build 386,freebsd
 
 package syscall
index f5d81abc51e3a3ae85c6d2915dbcefb347c75ee5..d72dbc944a1b74e1d2c706c1a6f9135154b5053b 100644 (file)
@@ -1,6 +1,7 @@
 // mksysnum_freebsd.pl
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build amd64 && freebsd
 // +build amd64,freebsd
 
 package syscall
index 006b49c245090ce430f32f0e2a5f467627292c0c..4f4dc4db7959e32e887f35e44341c30aa1a64d96 100644 (file)
@@ -1,6 +1,7 @@
 // mksysnum_freebsd.pl
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build arm && freebsd
 // +build arm,freebsd
 
 package syscall
index 0ce3d05cf22f54cf9527b6a0f9674690d1c11118..ab1a05258e7e95fa0e050703b28848091e1ebe12 100644 (file)
@@ -1,6 +1,7 @@
 // mksysnum_freebsd.pl
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build arm64 && freebsd
 // +build arm64,freebsd
 
 package syscall
index 6bcd22185eead65a37d70b34cd3c468bd19dad4d..792f43550e99f59a254745d60fc05da41c14a6e8 100644 (file)
@@ -1,6 +1,7 @@
 // mksysnum_linux.pl /usr/include/asm/unistd_32.h
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build 386 && linux
 // +build 386,linux
 
 package syscall
index 70ca68639f62433a547376435a3d1cb7448a58f3..9ea18d6111398c86976162a94af975bbe941d4cd 100644 (file)
@@ -1,6 +1,7 @@
 // mksysnum_linux.pl /usr/include/asm/unistd_64.h
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build amd64 && linux
 // +build amd64,linux
 
 package syscall
index 39ddc6536bac062ab7ba041a65f3890cde3ddeeb..ccae9c15e32249b5cbb62f05a19b9037ac48d896 100644 (file)
@@ -1,6 +1,7 @@
 // mksysnum_linux.pl
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build arm && linux
 // +build arm,linux
 
 package syscall
index 22a88b4dfeccf401867f4714c01c6712d23cfc99..17c54a2c833bf4fcff45d7fd9c884691b0edc368 100644 (file)
@@ -1,6 +1,7 @@
 // mksysnum_linux.pl /usr/include/asm-generic/unistd.h
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build arm64 && linux
 // +build arm64,linux
 
 package syscall
index 5882a7c058fbaff37b34f09b3cd8fd5df4821983..a0d37ff1f2701354c9baa4c1dbe4828fec695c76 100644 (file)
@@ -1,6 +1,7 @@
 // mksysnum_linux.pl /usr/include/asm/unistd.h
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build ppc64 && linux
 // +build ppc64,linux
 
 package syscall
index 4fb3f6cd29b79be6c7fb9aed2b97d9b60f1219aa..f8f82d20432359617871f620222b5a229bc5213e 100644 (file)
@@ -1,6 +1,7 @@
 // mksysnum_linux.pl /usr/include/powerpc64le-linux-gnu/asm/unistd.h
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build ppc64le && linux
 // +build ppc64le,linux
 
 package syscall
index 514d1f8cfd3bd8216e241268b0da5bbcec38d707..4ff8d803416a6a445706270fda8750bd6ab0c740 100644 (file)
@@ -1,6 +1,7 @@
 // mksysnum_netbsd.pl
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build 386 && netbsd
 // +build 386,netbsd
 
 package syscall
index db05c03ecda373807520b8aa8e9df6999bef6cda..929da0760427679fd390e7811fe6265be6823c59 100644 (file)
@@ -1,6 +1,7 @@
 // mksysnum_netbsd.pl
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build amd64 && netbsd
 // +build amd64,netbsd
 
 package syscall
index 9a10a4383a609db3def1cac946ea84640afb5b21..998238518bfb653eea8f4e99dba7e1d91e3f9d2f 100644 (file)
@@ -1,6 +1,7 @@
 // mksysnum_netbsd.pl
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build arm && netbsd
 // +build arm,netbsd
 
 package syscall
index 31e13bf3b63d8d2f5956b892b6a9b00ca812d10e..b3f5034390af7d0d99e3ce6f830224e0c6af034b 100644 (file)
@@ -1,6 +1,7 @@
 // mksysnum_netbsd.pl
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build arm64 && netbsd
 // +build arm64,netbsd
 
 package syscall
index 39b9c78288e8c1b696264895b536f61595b34b8b..b289886d6c61fc8710677ee881dacc0ba772d9bc 100644 (file)
@@ -1,6 +1,7 @@
 // mksysnum_openbsd.pl
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build 386 && openbsd
 // +build 386,openbsd
 
 package syscall
index e176c4e23e5e6f2f53ca1c269aa3cc97f4103a4c..8cf2b68dcd3abe18c6b7b4f6b37c05af7ae9cd11 100644 (file)
@@ -1,6 +1,7 @@
 // mksysnum_openbsd.pl
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build amd64 && openbsd
 // +build amd64,openbsd
 
 package syscall
index 96bbdb09f5606aa7d50a32826717281f21f022f5..cc33773a05833901c36ac0294832a450f3ac2996 100644 (file)
@@ -1,6 +1,7 @@
 // mksysnum_openbsd.pl
 // Code generated by the command above; DO NOT EDIT.
 
+//go:build arm && openbsd
 // +build arm,openbsd
 
 package syscall
index be198f899b137ec0aa97743810c7acc878447843..23c9c715b5215c1ac807496c24f1dc016a1290c2 100644 (file)
@@ -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 syscall
index da56f0da22b6a7cbb2fc99243f024ead27e018ac..8feacc47ab5142754766f8df8aff93e38ce7b18e 100644 (file)
@@ -1,6 +1,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs types_darwin.go
 
+//go:build amd64 && darwin
 // +build amd64,darwin
 
 package syscall
index 82685ff6591f92483bb513fda100db6c15f0ce1e..8079d22429b4500e23e7e30c5e51f1f03b8d73bb 100644 (file)
@@ -1,6 +1,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs types_darwin.go
 
+//go:build arm64 && darwin
 // +build arm64,darwin
 
 package syscall
index e9e811f77643b6653d069d1f464b9ec00e512909..a51e0038bb9bda3278b36ef995991f355c6a6c59 100644 (file)
@@ -1,6 +1,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs types_dragonfly.go
 
+//go:build amd64 && dragonfly
 // +build amd64,dragonfly
 
 package syscall
index 27d82dea1028ba8d270438571c26514ae118cd10..173972688387bf12da427087c0a77c0897ec36fa 100644 (file)
@@ -1,6 +1,7 @@
 // Code generated by cmd/cgo -godefs; DO NOT EDIT.
 // cgo -godefs types_freebsd.go | go run mkpost.go
 
+//go:build 386 && freebsd
 // +build 386,freebsd
 
 package syscall
index 8abfbb45d692ac12a0b6dd66288abaa1c1fb754e..0457d8e995918784465b0228151f55fed4f95909 100644 (file)
@@ -1,6 +1,7 @@
 // Code generated by cmd/cgo -godefs; DO NOT EDIT.
 // cgo -godefs types_freebsd.go | go run mkpost.go
 
+//go:build amd64 && freebsd
 // +build amd64,freebsd
 
 package syscall
index ff552a6a63f9da4f4836a5646e7bd5417967a01c..29c8380d898784c348689090b86d90ade1c9a1f9 100644 (file)
@@ -1,6 +1,7 @@
 // Code generated by cmd/cgo -godefs; DO NOT EDIT.
 // cgo -godefs -- -fsigned-char types_freebsd.go
 
+//go:build arm && freebsd
 // +build arm,freebsd
 
 package syscall
index 6d56fc85cffdc34fecd30693ac7fc78221a1e5b6..6472db00809a51972811ffb3658f508217971372 100644 (file)
@@ -1,6 +1,7 @@
 // Code generated by cmd/cgo -godefs; DO NOT EDIT.
 // cgo -godefs types_freebsd.go | go run mkpost.go
 
+//go:build arm64 && freebsd
 // +build arm64,freebsd
 
 package syscall
index 0252620f48c39b94ca2a762c125dddc5f504b54a..251a0c0b4ad249be800e35b96b432d15dd4ba57c 100644 (file)
@@ -1,6 +1,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs types_linux.go
 
+//go:build 386 && linux
 // +build 386,linux
 
 package syscall
index 1fb0ee566f1a9a3e4191512664faeb96ddae8f97..34c953fc8bf45ae9ee7f4ff90e3cfa8cd58f5308 100644 (file)
@@ -1,6 +1,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs types_linux.go
 
+//go:build amd64 && linux
 // +build amd64,linux
 
 package syscall
index a88b577bede1fd347c2bd388712eadc95f5dc6f8..4de656b491e74a6283fbfed3ca29dd680a743b28 100644 (file)
@@ -1,6 +1,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs types_linux.go
 
+//go:build arm && linux
 // +build arm,linux
 
 package syscall
index f63391cdadc86e63cb818363dcd2d357bf08d928..bed9cb08515eb014b933edfe5ad8b178f6eb57e6 100644 (file)
@@ -1,6 +1,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs -- -fsigned-char types_linux.go
 
+//go:build arm64 && linux
 // +build arm64,linux
 
 package syscall
index 8b6be21e2ea4ce8aabe6b3ce75de6747d1f5fab4..355533fb27cb4730c170e9c75b6785ebabdb1262 100644 (file)
@@ -1,6 +1,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs types_linux.go
 
+//go:build ppc64 && linux
 // +build ppc64,linux
 
 package syscall
index a9c3ee262664fcff2fced88173c5ddc150d077b4..94e12c742c8033e4a9e11d9e66b8351987277f9f 100644 (file)
@@ -1,6 +1,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs types_linux.go
 
+//go:build ppc64le && linux
 // +build ppc64le,linux
 
 package syscall
index 737abb87c767c364fd3705db5b6ec1053c5ad031..321460f45aa386047a84aac6f8777f57331ab360 100644 (file)
@@ -1,6 +1,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs types_netbsd.go
 
+//go:build 386 && netbsd
 // +build 386,netbsd
 
 package syscall
index cf059f79ffeab39adc602fcf130f243639e2d07d..370d7172634361212d3e7ec55c357df3e5789dfc 100644 (file)
@@ -1,6 +1,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs types_netbsd.go
 
+//go:build amd64 && netbsd
 // +build amd64,netbsd
 
 package syscall
index c532b3a7af50170ea65f520267c8b0b0f237b081..557c6345339c080fb6ac4e8b79cc7ae1441e8ec3 100644 (file)
@@ -1,6 +1,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs types_netbsd.go
 
+//go:build arm && netbsd
 // +build arm,netbsd
 
 package syscall
index 6d7f9edf34ccd280e25d7ef11803642bc7112107..19f36903412e76d3b635aa1555e4ba36a7629f64 100644 (file)
@@ -1,6 +1,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs types_netbsd.go
 
+//go:build arm64 && netbsd
 // +build arm64,netbsd
 
 package syscall
index c2a03ebdd807949793682a9e691b44c8620f0a62..222c6c7e46520b2abf78e7f255afe21b66573a70 100644 (file)
@@ -1,6 +1,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs types_openbsd.go
 
+//go:build 386 && openbsd
 // +build 386,openbsd
 
 package syscall
index 1a659ba2feacbea8fcb5d0806aaff6d10d25c8ff..644ee9b3dfbe7192051b9a50957140323fe81768 100644 (file)
@@ -1,6 +1,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs types_openbsd.go
 
+//go:build amd64 && openbsd
 // +build amd64,openbsd
 
 package syscall
index f846666fff2cb1e6d5e0f6ade3d019d69303b8c9..64e16b494350738844ca4334d944922034360285 100644 (file)
@@ -1,6 +1,7 @@
 // Created by cgo -godefs - DO NOT EDIT
 // cgo -godefs types_solaris.go
 
+//go:build amd64 && solaris
 // +build amd64,solaris
 
 package syscall
index 4dc83f7d32476247ec65b089520da4f4533d0933..d9e342d4951edd62ec5f1537f076b7d38846fb82 100644 (file)
@@ -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 !js
 // +build !js
 
 // TODO(@musiol, @odeke-em): re-unify this entire file back into
index 1d4164b61f9ecc37d7e98b6a7878da48245f29b1..d914633ba91889b975e9f764aaed56f9e9c0d90c 100644 (file)
@@ -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 js
 // +build js
 
 package testing
index cb4fdac4efa37e97fb0050f1cdd32b89e87239b2..34490c859ddb51af4c18ddddea22da1cace87a76 100644 (file)
@@ -5,6 +5,7 @@
 // This file is used with build tag timetzdata to embed tzdata into
 // the binary.
 
+//go:build timetzdata
 // +build timetzdata
 
 package time
index 9825e705d24dc6e620c28ae4271893a0051b2b4d..9fd2f2b7626ea68170e1bd0bf16f32c438d79e22 100644 (file)
@@ -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
 
 //
index b7fba0802c2b717fa30d33fa30c5d04a7cf4b80c..4dc55e44aa5fb6a92ad1b7b28db4ea27b83d4549 100644 (file)
@@ -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 plan9
 // +build plan9
 
 package time
index 97b1140bbcff95e59a51b3cfc3cbc674ac259c57..60fc090dc967ff2785609295cb2e185924c5b9ba 100644 (file)
@@ -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 || (js && wasm) || linux || netbsd || openbsd || solaris
 // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris
 
 package time
index 21357fbf1c5ef433fc69ce9008b28f02a6d764e8..64b5b1b22c234fcba7056e93ce9c72145a5e5c52 100644 (file)
@@ -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
 
 // This program generates zipdata.go from $GOROOT/lib/time/zoneinfo.zip.
index 0f1e9334b5df5fc40ccdb4b82bad418db1cc3024..044691e13058520fdb290497731aa5db98a95b09 100644 (file)
@@ -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 time
index 2d76a571f2178fec234e839a2802f205539846a0..8245614d2e15c158d16a1c805c80409539c5f43a 100644 (file)
@@ -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 js && wasm
 // +build js,wasm
 
 package time
index d2465eef65316a021c7af3f607a3c39b4e9827ac..4ea029dbde97984e4600633f0ce5cb1a6b54d0c1 100644 (file)
@@ -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 && !ios) || dragonfly || freebsd || (linux && !android) || netbsd || openbsd || solaris
 // +build aix darwin,!ios dragonfly freebsd linux,!android netbsd openbsd solaris
 
 // Parse "zoneinfo" time zone file.
index f290ae754f1856044bf4a7f129f346ed3a479b58..b75b374c3d535123a0ef21e41af50d368d4ce403 100644 (file)
@@ -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 && !ios) || dragonfly || freebsd || (linux && !android) || netbsd || openbsd || solaris
 // +build aix darwin,!ios dragonfly freebsd linux,!android netbsd openbsd solaris
 
 package time_test