mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-13 09:49:11 +03:00
Ensure we return 0 in main
This commit is contained in:
parent
e4e8e75f0b
commit
fa8f0bfae2
@ -52,6 +52,7 @@ extension RocStr {
|
||||
}
|
||||
|
||||
@_cdecl("main")
|
||||
func main() {
|
||||
func main() -> UInt8 {
|
||||
print(roc__mainForHost_1_exposed().string)
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user