25 lines
487 B
JSON
25 lines
487 B
JSON
{
|
|
"llvm-target": "wasm32--wasi",
|
|
"build-tags": [ "tinygo.wasm" ],
|
|
"goos": "js",
|
|
"goarch": "wasm",
|
|
"linker": "wasm-ld",
|
|
"libc": "wasi-libc",
|
|
"cflags": [
|
|
"--target=wasm32--wasi",
|
|
"--sysroot={root}/lib/wasi-libc/sysroot",
|
|
"-Oz"
|
|
],
|
|
"ldflags": [
|
|
"--allow-undefined",
|
|
"--no-demangle",
|
|
"--import-memory",
|
|
"--initial-memory=65536",
|
|
"--max-memory=65536",
|
|
"--stack-first",
|
|
"-zstack-size=14752",
|
|
"--strip-all"
|
|
],
|
|
"wasm-abi": "js"
|
|
}
|