it is one of the build modes: https://ziglang.org/documentation/master/#Build-Mode
I think that disabling safety checks is a thing you should only do if you are studying the cost of safety checks (i.e. a compiler switch only available to compiler engineers). IMHO, the whole point of safety checks is to find the bugs that are in your program[1]. Crashing it safely with an exact source stack trace is the nice way of both motivating you to fix it and also helping you fix it.
[1] And there are bugs in your program. Right now. Bugs. In. Your. Program. Running without safety checks is like closing your eyes and rolling the dice.
[1] https://ziglang.org/documentation/0.10.1/#setRuntimeSafety
Arguing that safety checks should always be enabled doesn't really make sense. Context matters.