mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
dfbb133ea6
This switches the Espressif fork from LLVM 19 to LLVM 20, so we can use the improvements made between those LLVM versions. It also better aligns with the system-LLVM build method, which currently also defaults to LLVM 20. Note that this disables the machine outliner for RISC-V. It appears there's a bug in there somewhere, with the machine outliner enabled the crypto/elliptic package tests fail with -target=riscv-qemu. This should ideally be investigated and reported upstream.
32 lines
790 B
JSON
32 lines
790 B
JSON
{
|
|
"llvm-target": "wasm32-unknown-unknown",
|
|
"cpu": "mvp",
|
|
"features": "+nontrapping-fptoint,+sign-ext,-bulk-memory,-multivalue,-reference-types",
|
|
"build-tags": ["tinygo.wasm", "wasm_unknown"],
|
|
"buildmode": "c-shared",
|
|
"goos": "linux",
|
|
"goarch": "arm",
|
|
"linker": "wasm-ld",
|
|
"rtlib": "compiler-rt",
|
|
"libc": "wasmbuiltins",
|
|
"scheduler": "none",
|
|
"gc": "leaking",
|
|
"default-stack-size": 4096,
|
|
"cflags": [
|
|
"-mnontrapping-fptoint",
|
|
"-mno-bulk-memory",
|
|
"-mno-multivalue",
|
|
"-mno-reference-types",
|
|
"-msign-ext"
|
|
],
|
|
"ldflags": [
|
|
"--stack-first",
|
|
"--no-demangle",
|
|
"--no-entry"
|
|
],
|
|
"extra-files": [
|
|
"src/runtime/asm_tinygowasm.S"
|
|
],
|
|
"emulator": "wasmtime run --dir={tmpDir}::/tmp {}"
|
|
}
|