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