I believe this is just about the behavior of std.debug.assert.
You can pretty easily have a different kind of assert that disappears in release builds (if you want).