mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-09 13:33:39 +00:00
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:
committed by
Ron Evans
parent
aa8e0bb509
commit
77ec9b6369
@@ -1,3 +1,4 @@
|
||||
//go:build !wasi && !darwin
|
||||
// +build !wasi,!darwin
|
||||
|
||||
package syscall
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build baremetal || wasm
|
||||
// +build baremetal wasm
|
||||
|
||||
// This file emulates some file-related functions that are only available
|
||||
|
||||
@@ -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,3 +1,4 @@
|
||||
//go:build baremetal || wasi || wasm
|
||||
// +build baremetal wasi wasm
|
||||
|
||||
// This file emulates some process-related functions that are only available
|
||||
|
||||
@@ -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,3 +1,4 @@
|
||||
//go:build darwin || nintendoswitch || wasi
|
||||
// +build darwin nintendoswitch wasi
|
||||
|
||||
package syscall
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build darwin
|
||||
// +build darwin
|
||||
|
||||
package syscall
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build nintendoswitch
|
||||
// +build nintendoswitch
|
||||
|
||||
package syscall
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build wasi
|
||||
// +build wasi
|
||||
|
||||
package syscall
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build baremetal || js
|
||||
// +build baremetal js
|
||||
|
||||
package syscall
|
||||
|
||||
@@ -2,6 +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
|
||||
|
||||
Reference in New Issue
Block a user