mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
runtime: fix compilation errors when using gc.extalloc
This commit is contained in:
@@ -602,3 +602,11 @@ func alloc(size uintptr) unsafe.Pointer {
|
||||
func free(ptr unsafe.Pointer) {
|
||||
// Currently unimplemented due to bugs in coroutine lowering.
|
||||
}
|
||||
|
||||
func KeepAlive(x interface{}) {
|
||||
// Unimplemented. Only required with SetFinalizer().
|
||||
}
|
||||
|
||||
func SetFinalizer(obj interface{}, finalizer interface{}) {
|
||||
// Unimplemented.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user