aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/wasm-unknown.json
blob: a3f6313c195d2135f73db2d28231a6fa49e30b90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
	"llvm-target":   "wasm32-unknown-unknown",
	"cpu":           "generic",
	"features":      "+mutable-globals,+nontrapping-fptoint,+sign-ext,-bulk-memory",
	"build-tags":    ["tinygo.wasm", "wasm_unknown"],
	"goos":          "linux",
	"goarch":        "arm",
	"linker":        "wasm-ld",
	"rtlib":         "compiler-rt",
	"libc":          "wasmbuiltins",
	"scheduler":     "none",
	"gc":            "leaking",
	"default-stack-size": 4096,
	"cflags": [
		"-mno-bulk-memory",
		"-mnontrapping-fptoint",
		"-msign-ext"
	],
	"ldflags": [
		"--stack-first",
		"--no-demangle",
		"--no-entry",
		"--import-memory"
	],
	"extra-files": [
		"src/runtime/asm_tinygowasm.S"
	],
	"emulator":      "wasmtime --dir={tmpDir}::/tmp {}"
}