mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-21 21:09:02 +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) {
|
func free(ptr unsafe.Pointer) {
|
||||||
// Currently unimplemented due to bugs in coroutine lowering.
|
// 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