diff options
author | Ayke van Laethem <[email protected]> | 2024-10-22 15:53:57 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2024-10-23 09:13:30 +0100 |
commit | 0f95b4102d83b6977277ea7d5e87ad538eddc5ef (patch) | |
tree | 8a63d2ea5f7028a9edeaa663f7782b9d4b9a101e /targets/wasip2.json | |
parent | 24c11d4ba5f722ef646ae0e1ee06b90b2411590c (diff) | |
download | tinygo-0f95b4102d83b6977277ea7d5e87ad538eddc5ef.tar.gz tinygo-0f95b4102d83b6977277ea7d5e87ad538eddc5ef.zip |
wasm: use precise GC for WebAssembly (including WASI)
With a few small modifications, all the problems with `-gc=precise` in
WebAssembly seem to have been fixed.
I didn't do any performance measurements, but this is supposed to
improve GC performance.
Diffstat (limited to 'targets/wasip2.json')
-rw-r--r-- | targets/wasip2.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/targets/wasip2.json b/targets/wasip2.json index 4b0e67591..7c8394c8e 100644 --- a/targets/wasip2.json +++ b/targets/wasip2.json @@ -9,6 +9,7 @@ "linker": "wasm-ld", "libc": "wasmbuiltins", "rtlib": "compiler-rt", + "gc": "precise", "scheduler": "asyncify", "default-stack-size": 65536, "cflags": [ |