aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/runtime/gc_leaking.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/gc_leaking.go')
-rw-r--r--src/runtime/gc_leaking.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime/gc_leaking.go b/src/runtime/gc_leaking.go
index 2f2bdff17..d99b8d125 100644
--- a/src/runtime/gc_leaking.go
+++ b/src/runtime/gc_leaking.go
@@ -85,6 +85,10 @@ func GC() {
// No-op.
}
+func SetFinalizer(obj interface{}, finalizer interface{}) {
+ // No-op.
+}
+
func initHeap() {
// preinit() may have moved heapStart; reset heapptr
heapptr = heapStart