diff --git a/unix/aliases.go b/unix/aliases.go index e7d3df4bd..b0e419857 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 b547a6287..b58e1383c 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 b0df8c748..9e537a39e 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 6f801f6c9..8edde104b 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 bf86fd0e6..da1069cfa 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 9fd62822b..cdafc717a 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 16dc69937..2f0fa76e4 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