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:
@@ -1,4 +1,4 @@
|
||||
//go:build !nogc
|
||||
//go:build !nogc && !baremetal
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
9
runtime/internal/lib/runtime/runtime_gc_baremetal.go
Normal file
9
runtime/internal/lib/runtime/runtime_gc_baremetal.go
Normal file
@@ -0,0 +1,9 @@
|
||||
//go:build !nogc && baremetal
|
||||
|
||||
package runtime
|
||||
|
||||
import "github.com/goplus/llgo/runtime/internal/runtime/tinygogc"
|
||||
|
||||
func GC() {
|
||||
tinygogc.GC()
|
||||
}
|
||||
Reference in New Issue
Block a user