mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 05:53:39 +00:00
generalize -scheduler=none to support most platforms
This commit is contained in:
@@ -18,11 +18,11 @@ type wasiIOVec struct {
|
||||
//export fd_write
|
||||
func fd_write(id uint32, iovs *wasiIOVec, iovs_len uint, nwritten *uint) (errno uint)
|
||||
|
||||
func postinit() {}
|
||||
|
||||
//export _start
|
||||
func _start() {
|
||||
initAll()
|
||||
go callMain()
|
||||
scheduler()
|
||||
run()
|
||||
}
|
||||
|
||||
// Using global variables to avoid heap allocation.
|
||||
|
||||
Reference in New Issue
Block a user