Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
TUSF
· 2y ago · 0 comments
In Zig, the
main
function can return either a
u8
or
void
(which always returns 0) or it can return an error union
!void
, where if you allow an error to bubble up to main, it'll print an error trace and return 1.
Comments
No comments yet.
Better HN