diff options
author | Ayke van Laethem <[email protected]> | 2021-06-21 14:50:24 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2021-06-22 09:03:23 +0200 |
commit | c3032660c9e2e1fd5a188c6ac54902637a77b975 (patch) | |
tree | 7eaf3ae0d0e8cf1fa10e6f3073ef73283f3d1d08 /targets/wasm.json | |
parent | d94f42f6e284e459f0141f986a2232f9867b1c4e (diff) | |
download | tinygo-c3032660c9e2e1fd5a188c6ac54902637a77b975.tar.gz tinygo-c3032660c9e2e1fd5a188c6ac54902637a77b975.zip |
wasi: remove wasm build tag
The wasm build tag together with GOARCH=arm was causing problems in the
internal/cpu package. In general, I think having two architecture build
tag will only cause problems (in this case, wasm and arm) so I've
removed the wasm build tag and replaced it with tinygo.wasm.
This is similar to the tinygo.riscv build tag, which is used for older
Go versions that don't yet have RISC-V support in the standard library
(and therefore pretend to be GOARCH=arm instead).
Diffstat (limited to 'targets/wasm.json')
-rw-r--r-- | targets/wasm.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/targets/wasm.json b/targets/wasm.json index 6208eb27f..eb03eb8c8 100644 --- a/targets/wasm.json +++ b/targets/wasm.json @@ -1,6 +1,6 @@ { "llvm-target": "wasm32--wasi", - "build-tags": ["js", "wasm"], + "build-tags": ["tinygo.wasm"], "goos": "js", "goarch": "wasm", "linker": "wasm-ld", |