mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 02:27:48 +00:00
bb146edb47
Signed-off-by: deadprogram <ron@hybridgroup.com>
23 lines
495 B
JSON
23 lines
495 B
JSON
{
|
|
"llvm-target": "wasm32--wasi",
|
|
"build-tags": ["wasm", "wasi"],
|
|
"goos": "linux",
|
|
"goarch": "arm",
|
|
"compiler": "clang",
|
|
"linker": "wasm-ld",
|
|
"cflags": [
|
|
"--target=wasm32--wasi",
|
|
"--sysroot={root}/lib/wasi-libc/sysroot",
|
|
"-Oz"
|
|
],
|
|
"ldflags": [
|
|
"--allow-undefined",
|
|
"--stack-first",
|
|
"--export-dynamic",
|
|
"--no-demangle",
|
|
"{root}/lib/wasi-libc/sysroot/lib/wasm32-wasi/libc.a"
|
|
],
|
|
"emulator": ["wasmtime"],
|
|
"wasm-abi": "generic"
|
|
}
|