Skip to content

Commit

Permalink
Disable assertions and zen free checks in release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dsrw committed Oct 18, 2023
1 parent b868716 commit a9821b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion enu.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ else:
requires "nim >= 1.6.10",
"https://github.com/arnetheduck/nim-results#f3c666a",
"https://github.com/dsrw/godot-nim#892c482",
"https://github.com/dsrw/model_citizen 0.18.10",
"https://github.com/dsrw/model_citizen 0.18.11",
"https://github.com/dsrw/nanoid.nim 0.2.1",
"cligen 1.6.0",
"https://github.com/treeform/pretty",
Expand Down
2 changes: 2 additions & 0 deletions src/config.nims
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ if host_os == "windows":

if defined(release):
--define:"chronicles_colors=None"
--assertions:off
--define:"zen_lax_free"

if project_name() == "enu":
--app:lib
Expand Down

0 comments on commit a9821b5

Please sign in to comment.