mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 22:13:39 +00:00
generalize -scheduler=none to support most platforms
This commit is contained in:
@@ -17,13 +17,13 @@ const tickMicros = 1024 * 32
|
||||
//go:linkname systemInit SystemInit
|
||||
func systemInit()
|
||||
|
||||
func postinit() {}
|
||||
|
||||
//go:export Reset_Handler
|
||||
func main() {
|
||||
systemInit()
|
||||
preinit()
|
||||
initAll()
|
||||
go callMain()
|
||||
scheduler()
|
||||
run()
|
||||
abort()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user