all: replace target=wasi with target=wasip1

This eliminates the 'wasi' build tag in favor of 'GOOS=wasip1', introduced in Go 1.21.

For backwards compatablity, -target=wasi is a synonym for -target=wasip1.
This commit is contained in:
Randy Reddig
2024-03-04 10:26:41 -08:00
committed by Ron Evans
parent 62d8cdb218
commit 8e8ad9004f
28 changed files with 51 additions and 38 deletions
+3 -3
View File
@@ -2,9 +2,9 @@
"llvm-target": "wasm32-unknown-wasi",
"cpu": "generic",
"features": "+bulk-memory,+mutable-globals,+nontrapping-fptoint,+sign-ext",
"build-tags": ["tinygo.wasm", "wasi"],
"goos": "linux",
"goarch": "arm",
"build-tags": ["tinygo.wasm"],
"goos": "wasip1",
"goarch": "wasm",
"linker": "wasm-ld",
"libc": "wasi-libc",
"rtlib": "compiler-rt",