aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/wasm.json
blob: d7eab5a53a48b5f3101cccdd240a128b347f0fcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
	"llvm-target":   "wasm32-unknown-unknown-wasm",
	"build-tags":    ["js", "wasm"],
	"goos":          "js",
	"goarch":        "wasm",
	"compiler":      "clang-7",
	"linker":        "wasm-ld-7",
	"cflags": [
		"--target=wasm32",
		"-Oz"
	],
	"ldflags": [
		"-allow-undefined"
	],
	"emulator":      ["cwa"]
}