aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/wasm-unknown.json
blob: aefc6047ed06c0b56f48a173d6d196221f6f465a (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
{
	"llvm-target":   "wasm32-unknown-unknown",
	"cpu":           "generic",
	"features":      "+mutable-globals,+nontrapping-fptoint,+sign-ext",
	"build-tags":    ["tinygo.wasm", "wasm_unknown"],
	"goos":          "linux",
	"goarch":        "arm",
	"linker":        "wasm-ld",
	"rtlib":         "compiler-rt",
	"scheduler":     "none",
	"default-stack-size": 4096,
	"cflags": [
		"-mno-bulk-memory",
		"-mnontrapping-fptoint",
		"-msign-ext"
	],
	"ldflags": [
		"--no-demangle",
		"--no-entry",
		"--import-memory"
	],
	"extra-files": [
		"src/runtime/asm_tinygowasm.S"
	],
	"emulator":      "wasmtime --dir={tmpDir}::/tmp {}"
}