feat: implement baremetal GC

fix: pthread gc

fix: xiao-esp32c3 symbol

refactor: use clite memset instead of linking

fix: stack top symbol
This commit is contained in:
Haolan
2025-09-16 09:39:23 +08:00
parent 2f65c98eb4
commit 812dfd45c9
14 changed files with 707 additions and 18 deletions

View File

@@ -26,6 +26,11 @@ const (
LLGoPackage = "link: $(pkg-config --libs bdw-gc); -lgc"
)
//export initGC
func initGC() {
Init()
}
// -----------------------------------------------------------------------------
//go:linkname Init C.GC_init