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

@@ -1,4 +1,4 @@
//go:build !nogc
//go:build !nogc && !baremetal
package runtime

View File

@@ -0,0 +1,9 @@
//go:build !nogc && baremetal
package runtime
import "github.com/goplus/llgo/runtime/internal/runtime/tinygogc"
func GC() {
tinygogc.GC()
}