aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/runtime/runtime_fe310.go
diff options
context:
space:
mode:
authorJaden Weiss <[email protected]>2020-01-03 00:23:37 -0500
committerAyke <[email protected]>2020-03-17 12:16:10 +0100
commit6a50f25a48385fc78397b6f0f1c83650130d8d16 (patch)
tree16745709bcec53d785bd1b17aca718926cd410dd /src/runtime/runtime_fe310.go
parent2521cacb513bd59e95dc61746e7e0d0d761dcdc4 (diff)
downloadtinygo-6a50f25a48385fc78397b6f0f1c83650130d8d16.tar.gz
tinygo-6a50f25a48385fc78397b6f0f1c83650130d8d16.zip
refactor coroutine lowering and tasks
Diffstat (limited to 'src/runtime/runtime_fe310.go')
-rw-r--r--src/runtime/runtime_fe310.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runtime/runtime_fe310.go b/src/runtime/runtime_fe310.go
index 92cb9ad17..88295c9c0 100644
--- a/src/runtime/runtime_fe310.go
+++ b/src/runtime/runtime_fe310.go
@@ -52,7 +52,8 @@ func main() {
preinit()
initPeripherals()
initAll()
- callMain()
+ go callMain()
+ scheduler()
abort()
}