
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.
18 строки
428 Б
JSON
18 строки
428 Б
JSON
{
|
|
"llvm-target": "wasm32-unknown-wasi",
|
|
"cpu": "generic",
|
|
"build-tags": ["tinygo.wasm", "wasi"],
|
|
"goos": "linux",
|
|
"goarch": "arm",
|
|
"linker": "wasm-ld",
|
|
"libc": "wasi-libc",
|
|
"scheduler": "asyncify",
|
|
"default-stack-size": 16384,
|
|
"ldflags": [
|
|
"--allow-undefined",
|
|
"--stack-first",
|
|
"--no-demangle"
|
|
],
|
|
"emulator": "wasmtime {}",
|
|
"wasm-abi": "generic"
|
|
}
|