mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 22:43:40 +00:00
refactor coroutine lowering and tasks
This commit is contained in:
@@ -52,7 +52,10 @@ func main() int {
|
||||
initAll()
|
||||
|
||||
// Compiler-generated call to main.main().
|
||||
callMain()
|
||||
go callMain()
|
||||
|
||||
// Run scheduler.
|
||||
scheduler()
|
||||
|
||||
// For libc compatibility.
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user