
In some cases, 8 KiB is not enough for both the C stack and the asyncify stack. This gets the compress/zlib tests to fail without crashing.
18 строки
439 Б
JSON
18 строки
439 Б
JSON
{
|
|
"llvm-target": "wasm32-unknown-wasi",
|
|
"cpu": "generic",
|
|
"build-tags": ["tinygo.wasm"],
|
|
"goos": "js",
|
|
"goarch": "wasm",
|
|
"linker": "wasm-ld",
|
|
"libc": "wasi-libc",
|
|
"scheduler": "asyncify",
|
|
"default-stack-size": 16384,
|
|
"ldflags": [
|
|
"--allow-undefined",
|
|
"--stack-first",
|
|
"--no-demangle"
|
|
],
|
|
"emulator": ["node", "{root}/targets/wasm_exec.js"],
|
|
"wasm-abi": "js"
|
|
}
|