mirror of https://github.com/tinygo-org/tinygo.git
wasmstm32webassemblymicrocontrollerarmavrspiwasiadafruitarduinocircuitplayground-expressgpioi2cllvmmicrobitnrf51nrf52nrf52840samd21tinygo
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
833 B
30 lines
833 B
{
|
|
"llvm-target": "wasm32-unknown-wasi",
|
|
"cpu": "generic",
|
|
"features": "+bulk-memory,+mutable-globals,+nontrapping-fptoint,+sign-ext",
|
|
"build-tags": ["tinygo.wasm", "wasip2"],
|
|
"buildmode": "c-shared",
|
|
"goos": "linux",
|
|
"goarch": "arm",
|
|
"linker": "wasm-ld",
|
|
"libc": "wasmbuiltins",
|
|
"rtlib": "compiler-rt",
|
|
"scheduler": "asyncify",
|
|
"default-stack-size": 65536,
|
|
"cflags": [
|
|
"-mbulk-memory",
|
|
"-mnontrapping-fptoint",
|
|
"-msign-ext"
|
|
],
|
|
"ldflags": [
|
|
"--stack-first",
|
|
"--no-demangle",
|
|
"--no-entry"
|
|
],
|
|
"extra-files": [
|
|
"src/runtime/asm_tinygowasm.S"
|
|
],
|
|
"emulator": "wasmtime --wasm component-model -Sinherit-network -Sallow-ip-name-lookup --dir={tmpDir}::/tmp {}",
|
|
"wit-package": "{root}/lib/wasi-cli/wit/",
|
|
"wit-world": "wasi:cli/command"
|
|
}
|
|
|