1
0
Fork 0

Update compiler flags

This commit is contained in:
Julien Dessaux 2022-12-01 13:14:54 +01:00
parent 54cb61927c
commit 39c178ac71
Signed by: adyxax
GPG key ID: F92E51B86E07177E

View file

@ -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
```