From a9821b58c6bd0ef8bc24bc45f77549e752594be8 Mon Sep 17 00:00:00 2001 From: Scott Wadden Date: Tue, 17 Oct 2023 22:07:08 -0300 Subject: [PATCH] Disable assertions and zen free checks in release mode --- enu.nimble | 2 +- src/config.nims | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/enu.nimble b/enu.nimble index 34224ba9..cf6fb43a 100644 --- a/enu.nimble +++ b/enu.nimble @@ -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", diff --git a/src/config.nims b/src/config.nims index 99eff88b..2bc52500 100644 --- a/src/config.nims +++ b/src/config.nims @@ -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