mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 18:53:29 +00:00
run init in a goroutine
This commit is contained in:
@@ -16,6 +16,7 @@ func getSystemStackPointer() uintptr {
|
||||
// run is called by the program entry point to execute the go program.
|
||||
// With the "none" scheduler, init and the main function are invoked directly.
|
||||
func run() {
|
||||
initHeap()
|
||||
initAll()
|
||||
postinit()
|
||||
callMain()
|
||||
|
||||
Reference in New Issue
Block a user