diff options
author | Randy Reddig <[email protected]> | 2024-03-04 10:26:41 -0800 |
---|---|---|
committer | Ron Evans <[email protected]> | 2024-03-27 16:01:40 +0100 |
commit | 8e8ad9004f165716e64676ec534def097594484a (patch) | |
tree | dc2c799469dad10a48bdb12de056387d6d52709a /targets | |
parent | 62d8cdb218ff4ff37998ad91f9f9e9e146f70271 (diff) | |
download | tinygo-8e8ad9004f165716e64676ec534def097594484a.tar.gz tinygo-8e8ad9004f165716e64676ec534def097594484a.zip |
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.
Diffstat (limited to 'targets')
-rw-r--r-- | targets/wasip1.json (renamed from targets/wasi.json) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/targets/wasi.json b/targets/wasip1.json index 1e1fff415..409be9ec9 100644 --- a/targets/wasi.json +++ b/targets/wasip1.json @@ -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", |