Skip to content

Commit

Permalink
Fix debug_prints in release mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethiraric committed Jul 14, 2024
1 parent 93a35ab commit d27bae9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion parser/src/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<bool> = OnceLock::new();
*ENABLED.get_or_init(|| std::env::var("SAPHYR_DEBUG").is_ok())
Expand Down

0 comments on commit d27bae9

Please sign in to comment.