ziglang / zig-mode

Zig mode for Emacs
GNU General Public License v3.0
163 stars 54 forks source link

Add `zig-test-optimization-mode` and `zig-run-optimization-mode` #55

Closed ghost closed 3 years ago

ghost commented 3 years ago

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.

AndreaOrru commented 3 years ago

:+1: