Re:Zig: Build System Reworked
by xyzsparetimexyz on Saturday May 30, 2026 @03:04PM
(#48339592)
So your ice turns 'let unused = func();' into 'let _ = func();' automatically? Okay but then do I later have to grep for 'let _' to find all these unused variables and delete them? This is silly and a has consequence of zig not having any system for warnings
[ Parent
| on HN ]
Why not ignore unused variables in debug and warn in release mode?
Re:Zig: Build System Reworked
by xyzsparetimexyz on Sunday May 31, 2026 @04:16AM
(#48343942)
Warning everywhere makes sense. BMG zig doesn't have warnings at all. Just errors