mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-06 20:13:40 +00:00
wasm: add Boehm GC support
This adds support for `-gc=boehm` on `-target=wasip1` and `-target=wasm` (in a browser or NodeJS). Notably it does *not* add Boehm GC support for `-target=wasip2`, since that target doesn't have a real libc.
This commit is contained in:
committed by
Ron Evans
parent
9c3b706533
commit
c08b2dfe06
@@ -1,4 +1,4 @@
|
||||
//go:build tinygo.wasm && !(custommalloc || wasm_unknown)
|
||||
//go:build tinygo.wasm && !(custommalloc || wasm_unknown || gc.boehm)
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
Reference in New Issue
Block a user