From 41085597f32cd55c484c862bdd6708e7af6db8f3 Mon Sep 17 00:00:00 2001 From: Benedikt Terhechte Date: Fri, 3 Dec 2021 14:26:12 +0100 Subject: [PATCH] Disable tracing in release --- src/bin/postsack.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/postsack.rs b/src/bin/postsack.rs index 7f9f3a2..f6b8b59 100644 --- a/src/bin/postsack.rs +++ b/src/bin/postsack.rs @@ -1,6 +1,8 @@ #[cfg(feature = "gui")] fn main() { + #[cfg(debug_assertions)] postsack::setup_tracing(); + postsack::gui::run_gui(); }