mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 10:37:46 +00:00
7c546525ea
This new library is needed for wasm targets that aren't WASI and don't need/want a libc, but still need some intrinsics that are generated by LLVM.
30 lines
723 B
JSON
30 lines
723 B
JSON
{
|
|
"llvm-target": "wasm32-unknown-unknown",
|
|
"cpu": "generic",
|
|
"features": "+mutable-globals,+nontrapping-fptoint,+sign-ext,-bulk-memory",
|
|
"build-tags": ["tinygo.wasm", "wasm_unknown"],
|
|
"goos": "linux",
|
|
"goarch": "arm",
|
|
"linker": "wasm-ld",
|
|
"rtlib": "compiler-rt",
|
|
"libc": "wasmbuiltins",
|
|
"scheduler": "none",
|
|
"gc": "leaking",
|
|
"default-stack-size": 4096,
|
|
"cflags": [
|
|
"-mno-bulk-memory",
|
|
"-mnontrapping-fptoint",
|
|
"-msign-ext"
|
|
],
|
|
"ldflags": [
|
|
"--stack-first",
|
|
"--no-demangle",
|
|
"--no-entry",
|
|
"--import-memory"
|
|
],
|
|
"extra-files": [
|
|
"src/runtime/asm_tinygowasm.S"
|
|
],
|
|
"emulator": "wasmtime --dir={tmpDir}::/tmp {}"
|
|
}
|