From 072ef603fe15088b1d1fd9b4b6c43aa80746d927 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Fri, 11 Jan 2019 20:17:25 +0100 Subject: [PATCH] wasm: add GOOS/GOARCH properties This was an oversight in commit 107fccb288. --- targets/wasm.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/targets/wasm.json b/targets/wasm.json index f24ec68e..7deb29a3 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": [