Zig's noreturn is awesome!

Easy error handling for a CLI tool While building a CLI tool in Zig, I quickly grew fond of how elegantly it handles errors—especially with the help of std.process.fatal() : pub fn fatal ( comptime format : [ ] const u8 , format_arguments : anytype ) noreturn { std . log . err ( format , format_arguments ) ; exit ( 1 ) ; } Note the return type: noreturn . We’ll get back to that in a moment.…