unix: drop go version tags for unsupported versions go.mod specifies go 1.18. Drop go1.n version tags for older, unsupported versions. Change-Id: I8563bd2cc8e86bd560a45b885a9aa2e6bcc95c47 Reviewed-on: https://go-review.googlesource.com/c/sys/+/559415 Reviewed-by: Than McIntosh <thanm@google.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
diff --git a/unix/aliases.go b/unix/aliases.go index e7d3df4..b0e4198 100644 --- a/unix/aliases.go +++ b/unix/aliases.go
@@ -2,7 +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 || zos) && go1.9 +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos package unix
diff --git a/unix/darwin_amd64_test.go b/unix/darwin_amd64_test.go index b547a62..b58e138 100644 --- a/unix/darwin_amd64_test.go +++ b/unix/darwin_amd64_test.go
@@ -1,7 +1,7 @@ // go run mkasm.go darwin amd64 // Code generated by the command above; DO NOT EDIT. -//go:build darwin && go1.12 +//go:build darwin package unix
diff --git a/unix/darwin_arm64_test.go b/unix/darwin_arm64_test.go index b0df8c7..9e537a3 100644 --- a/unix/darwin_arm64_test.go +++ b/unix/darwin_arm64_test.go
@@ -1,7 +1,7 @@ // go run mkasm.go darwin arm64 // Code generated by the command above; DO NOT EDIT. -//go:build darwin && go1.12 +//go:build darwin package unix
diff --git a/unix/darwin_test.go b/unix/darwin_test.go index 6f801f6..8edde10 100644 --- a/unix/darwin_test.go +++ b/unix/darwin_test.go
@@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build darwin && go1.12 +//go:build darwin package unix
diff --git a/unix/dev_linux_test.go b/unix/dev_linux_test.go index bf86fd0..da1069c 100644 --- a/unix/dev_linux_test.go +++ b/unix/dev_linux_test.go
@@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build go1.7 - package unix_test import (
diff --git a/unix/mkasm.go b/unix/mkasm.go index 9fd6282..cdafc71 100644 --- a/unix/mkasm.go +++ b/unix/mkasm.go
@@ -80,7 +80,7 @@ const darwinTestTemplate = `// go run mkasm.go %s // Code generated by the command above; DO NOT EDIT. -//go:build darwin && go1.12 +//go:build darwin package unix
diff --git a/unix/syscall_darwin_libSystem.go b/unix/syscall_darwin_libSystem.go index 16dc699..2f0fa76 100644 --- a/unix/syscall_darwin_libSystem.go +++ b/unix/syscall_darwin_libSystem.go
@@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build darwin && go1.12 +//go:build darwin package unix