Fine, but the bugs this will cause when people port code across from C or C++... probably painful.
So, to be safe people should build both Debug and Release?
So, to be safe people should build both Debug and Release?
It is also possible to selectively disable/enable safety for individual code blocks.
Worth noting that UB is also checked in ReleaseSafe mode. Related issue: https://github.com/ziglang/zig/issues/2301