Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
allow multiple kinds of return types from main #535
Currently, this is the main entry point function:
The bootstrap code runs it, checks the return value, and makes the exit/ExitProcess syscall.
If a zig user wants to do their own process exiting, however, they should be able to make the return type
This shaves off a couple of bytes of bloat for some of our more hardcore users such as demoscene programmers.
allow multiple kinds of return types from main