In other languages, there are ways to add compile-time conditionals. I've used this a lot for build system. Is there something similar for Zig?
Example with Nim:
when defined(linux):
# Do some Linux specific thing
else:
# Handle other systems
In the case above, the code inside the when/else block would be eliminated at compile time based on the condition