aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2024-01-30 12:10:04 +0100
committerGopher Robot <gobot@golang.org>2024-02-14 13:16:46 +0000
commit7ff74af46e246f08a64cea4267e83365355d37d5 (patch)
tree661c95034f66c5a9762880be45512f19bc40d0b7
parent6b4eab51c2d17341edab3284d593a0bd9f90bb71 (diff)
downloadgolang-x-sys-7ff74af46e246f08a64cea4267e83365355d37d5.tar.gz
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>
-rw-r--r--unix/aliases.go2
-rw-r--r--unix/darwin_amd64_test.go2
-rw-r--r--unix/darwin_arm64_test.go2
-rw-r--r--unix/darwin_test.go2
-rw-r--r--unix/dev_linux_test.go2
-rw-r--r--unix/mkasm.go2
-rw-r--r--unix/syscall_darwin_libSystem.go2
7 files changed, 6 insertions, 8 deletions
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 @@ func generateASMFile(goos, arch string, inFileNames []string, outFileName string
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