diff options
author | Julien Dessaux | 2022-12-01 13:14:54 +0100 |
---|---|---|
committer | Julien Dessaux | 2022-12-01 13:16:19 +0100 |
commit | 39c178ac7184083d5bd437ce1dd86fc2d2417863 (patch) | |
tree | 7668080af3f626e14a6ae5b729389ce8b0113713 | |
parent | Added readme (diff) | |
download | zigfunge98-39c178ac7184083d5bd437ce1dd86fc2d2417863.tar.gz zigfunge98-39c178ac7184083d5bd437ce1dd86fc2d2417863.tar.bz2 zigfunge98-39c178ac7184083d5bd437ce1dd86fc2d2417863.zip |
Update compiler flags
-rw-r--r-- | README.md | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -25,7 +25,7 @@ To get, compile then install zigfunge98, do something like: ```sh git clone https://git.adyxax.org/adyxax/zigfunge98 cd zigfunge98 -zig build +zig build -Drelease-safe install ./zig-out/bin/zigfunge98 ~/.local/bin/ ``` @@ -51,9 +51,14 @@ zig build test -Dtest-coverage firefox kcov-output/index.html ``` +To build a debug build, simply use: +```sh +zig build +``` + For a non debug build, use either one of: ```sh -zig build -O ReleaseSafe -zig build -O ReleaseSmall -zig build -O ReleaseFast +zig build -Drelease-safe +zig build -Drelease-small +zig build -Drelease-fast ``` |