Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Zig Without Unused Variable Error (github.com/markisus)
1 point by markisus on Jan 2, 2023 | hide | past | favorite
In Zig, unused variables are errors, which many users find frustrating. I found this patch https://github.com/ziglang/zig/issues/335#issuecomment-10138... which removes unused variables. I forked Zig and put in this patch and published it on github so that others can more easily rebuild Zig without the unused variable error. Hopefully it saves a couple minutes for others out there!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: