mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 02:27:48 +00:00
bd56636d58
This matches the flash-command and is generally a bit easier to work with. This commit also prepares for allowing multiple formats to be used in the emulator command, which is necessary for the esp32.
19 lines
437 B
JSON
19 lines
437 B
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"
|
|
}
|