From d27bae9fa553a241a53e42b35b4cafd8ef809374 Mon Sep 17 00:00:00 2001 From: Ethiraric Date: Thu, 18 Apr 2024 23:34:12 +0200 Subject: [PATCH] Fix debug_prints in release mode. --- parser/src/debug.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/parser/src/debug.rs b/parser/src/debug.rs index a35d05b..2edf3be 100644 --- a/parser/src/debug.rs +++ b/parser/src/debug.rs @@ -33,7 +33,6 @@ mod debug { } /// Return whether debugging features are enabled in this execution. - #[cfg(debug_assertions)] pub fn enabled() -> bool { static ENABLED: OnceLock = OnceLock::new(); *ENABLED.get_or_init(|| std::env::var("SAPHYR_DEBUG").is_ok())