mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 14:33:41 +00:00
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.
This commit is contained in:
committed by
Ron Evans
parent
24c11d4ba5
commit
0f95b4102d
@@ -8,6 +8,7 @@
|
||||
"linker": "wasm-ld",
|
||||
"libc": "wasi-libc",
|
||||
"rtlib": "compiler-rt",
|
||||
"gc": "precise",
|
||||
"scheduler": "asyncify",
|
||||
"default-stack-size": 65536,
|
||||
"cflags": [
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
"linker": "wasm-ld",
|
||||
"libc": "wasmbuiltins",
|
||||
"rtlib": "compiler-rt",
|
||||
"gc": "precise",
|
||||
"scheduler": "asyncify",
|
||||
"default-stack-size": 65536,
|
||||
"cflags": [
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"linker": "wasm-ld",
|
||||
"libc": "wasi-libc",
|
||||
"rtlib": "compiler-rt",
|
||||
"gc": "precise",
|
||||
"scheduler": "asyncify",
|
||||
"default-stack-size": 65536,
|
||||
"cflags": [
|
||||
|
||||
Reference in New Issue
Block a user