aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2024-03-04 20:27:05 +0100
committerRon Evans <[email protected]>2024-03-26 12:20:50 +0100
commit7c546525ea979025c17973a6e248a2119024acbb (patch)
tree00a906fae573e4de6e14b75c4bce6b69d3be2c86 /targets
parentd628e3e2cb6f767dc5367bc43fb14751a509404a (diff)
downloadtinygo-7c546525ea979025c17973a6e248a2119024acbb.tar.gz
tinygo-7c546525ea979025c17973a6e248a2119024acbb.zip
wasm-unknown: add math and memory builtins that LLVM needs
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.
Diffstat (limited to 'targets')
-rw-r--r--targets/wasm-unknown.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/targets/wasm-unknown.json b/targets/wasm-unknown.json
index 903afa49e..a3f6313c1 100644
--- a/targets/wasm-unknown.json
+++ b/targets/wasm-unknown.json
@@ -7,6 +7,7 @@
"goarch": "arm",
"linker": "wasm-ld",
"rtlib": "compiler-rt",
+ "libc": "wasmbuiltins",
"scheduler": "none",
"gc": "leaking",
"default-stack-size": 4096,