diff options
author | Ayke van Laethem <[email protected]> | 2019-01-11 20:17:25 +0100 |
---|---|---|
committer | Ayke van Laethem <[email protected]> | 2019-01-21 22:08:12 +0100 |
commit | 072ef603fe15088b1d1fd9b4b6c43aa80746d927 (patch) | |
tree | 178afd91b091528bb0920d1004f51f3424a24ed5 /targets/wasm.json | |
parent | 54baf48266c8219cb1063e6ea28271e6c5135a0d (diff) | |
download | tinygo-072ef603fe15088b1d1fd9b4b6c43aa80746d927.tar.gz tinygo-072ef603fe15088b1d1fd9b4b6c43aa80746d927.zip |
wasm: add GOOS/GOARCH properties
This was an oversight in commit 107fccb288.
Diffstat (limited to 'targets/wasm.json')
-rw-r--r-- | targets/wasm.json | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/targets/wasm.json b/targets/wasm.json index f24ec68ea..7deb29a31 100644 --- a/targets/wasm.json +++ b/targets/wasm.json @@ -1,6 +1,8 @@ { "llvm-target": "wasm32-unknown-unknown-wasm", "build-tags": ["js", "wasm"], + "goos": "js", + "goarch": "wasm", "compiler": "clang-7", "linker": "ld.lld-7", "cflags": [ |