#main() function return type
1 messages · Page 1 of 1 (latest)
1 messages · Page 1 of 1 (latest)
I’ve tried to find this out online but there’s not much information on this, as main could return void or !void, is it possible for main to return any arbitrary type? (Such as u8)
main can return u8, void, or an error union with either
so: void u8 !void, !u8
that's it
or noreturn
Ah, thank you.