all: update build constraints to Go 1.17

Do it all at once in preparation for Go 1.18 support.

To make this commit, I've simply modified the `fmt-check` Makefile
target to rewrite files instead of listing the differences. So this is a
fully mechanical change, it should not have introduced any errors.
This commit is contained in:
Ayke van Laethem
2022-02-03 19:21:17 +01:00
committed by Ron Evans
parent aa8e0bb509
commit 77ec9b6369
281 changed files with 284 additions and 4 deletions
+1
View File
@@ -1,3 +1,4 @@
//go:build !wasi && !darwin
// +build !wasi,!darwin
package syscall
+1
View File
@@ -1,3 +1,4 @@
//go:build baremetal || wasm
// +build baremetal wasm
// This file emulates some file-related functions that are only available
+1
View File
@@ -1,3 +1,4 @@
//go:build !baremetal && !wasm
// +build !baremetal,!wasm
// This file assumes there is a libc available that runs on a real operating
+1
View File
@@ -1,3 +1,4 @@
//go:build baremetal || wasi || wasm
// +build baremetal wasi wasm
// This file emulates some process-related functions that are only available
+1
View File
@@ -1,3 +1,4 @@
//go:build !baremetal && !wasi && !wasm
// +build !baremetal,!wasi,!wasm
// This file assumes there is a libc available that runs on a real operating
+1
View File
@@ -1,3 +1,4 @@
//go:build darwin || nintendoswitch || wasi
// +build darwin nintendoswitch wasi
package syscall
+1
View File
@@ -1,3 +1,4 @@
//go:build darwin
// +build darwin
package syscall
@@ -1,3 +1,4 @@
//go:build nintendoswitch
// +build nintendoswitch
package syscall
+1
View File
@@ -1,3 +1,4 @@
//go:build wasi
// +build wasi
package syscall
+1
View File
@@ -1,3 +1,4 @@
//go:build baremetal || js
// +build baremetal js
package syscall
+1
View File
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build baremetal || nintendoswitch || js
// +build baremetal nintendoswitch js
package syscall