31 lines
887 B
JSON
31 lines
887 B
JSON
{
|
|
"llvm-target": "wasm32-unknown-wasi",
|
|
"cpu": "generic",
|
|
"features": "+bulk-memory,+mutable-globals,+nontrapping-fptoint,+sign-ext,-multivalue,-reference-types",
|
|
"build-tags": ["tinygo.wasm", "wasip2"],
|
|
"buildmode": "c-shared",
|
|
"goos": "linux",
|
|
"goarch": "arm",
|
|
"linker": "wasm-ld",
|
|
"libc": "wasmbuiltins",
|
|
"rtlib": "compiler-rt",
|
|
"gc": "precise",
|
|
"scheduler": "asyncify",
|
|
"default-stack-size": 65536,
|
|
"cflags": [
|
|
"-mbulk-memory",
|
|
"-mnontrapping-fptoint",
|
|
"-mno-multivalue",
|
|
"-mno-reference-types",
|
|
"-msign-ext"
|
|
],
|
|
"ldflags": [
|
|
"--stack-first",
|
|
"--no-demangle",
|
|
"--no-entry"
|
|
],
|
|
"emulator": "wasmtime run --wasm component-model -Sinherit-network -Sallow-ip-name-lookup --dir={tmpDir}::/tmp {}",
|
|
"wit-package": "{root}/lib/wasi-cli/wit/",
|
|
"wit-world": "wasi:cli/command"
|
|
}
|