aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/runtime/gc_leaking.go
diff options
context:
space:
mode:
authorJaden Weiss <[email protected]>2020-02-07 19:20:36 -0500
committerAyke <[email protected]>2020-03-17 19:25:30 +0100
commit0759b70c5065835d5e341135cdc42242683e0e15 (patch)
treed0c425ed181e77c007c48f00cbeb5b649c564ad1 /src/runtime/gc_leaking.go
parent5d869f60420117f11afeb22ebdc0ff5d3859048f (diff)
downloadtinygo-0759b70c5065835d5e341135cdc42242683e0e15.tar.gz
tinygo-0759b70c5065835d5e341135cdc42242683e0e15.zip
run init in a goroutine
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 fb0f9086e..f5e359517 100644
--- a/src/runtime/gc_leaking.go
+++ b/src/runtime/gc_leaking.go
@@ -45,3 +45,7 @@ func KeepAlive(x interface{}) {
func SetFinalizer(obj interface{}, finalizer interface{}) {
// Unimplemented.
}
+
+func initHeap() {
+ // Nothing to initialize.
+}