runtime: fix compilation errors when using gc.extalloc

Этот коммит содержится в:
cornelk 2020-05-11 17:35:03 +03:00 коммит произвёл Ayke
родитель 01f5c1d455
коммит acdaa72365

Просмотреть файл

@ -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.
}