Ensure we return 0 in main

This commit is contained in:
Kevin Sjöberg 2021-11-03 19:42:01 +01:00
parent e4e8e75f0b
commit fa8f0bfae2

View File

@ -52,6 +52,7 @@ extension RocStr {
}
@_cdecl("main")
func main() {
func main() -> UInt8 {
print(roc__mainForHost_1_exposed().string)
}
return 0
}