These two variables allow for the zig-run and zig-test-buffer functions to run Zig with the user's desired optimization modes,
and also changes the default optimization mode to Debug (used to be ReleaseFast), since not having safety is not desirable while testing code that may potentially panic.
These two variables allow for the
zig-run
andzig-test-buffer
functions to run Zig with the user's desired optimization modes, and also changes the default optimization mode toDebug
(used to beReleaseFast
), since not having safety is not desirable while testing code that may potentially panic.