From e614343938d32561ea0a14a7a4c0a218fad52ec8 Mon Sep 17 00:00:00 2001 From: Guillaume Binet Date: Tue, 10 Dec 2024 16:32:49 -0600 Subject: [PATCH] Fix the release profile on generation. --- core/cu29_runtime/src/monitoring.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/cu29_runtime/src/monitoring.rs b/core/cu29_runtime/src/monitoring.rs index e84cd36ce..65a682e01 100644 --- a/core/cu29_runtime/src/monitoring.rs +++ b/core/cu29_runtime/src/monitoring.rs @@ -13,8 +13,11 @@ use cu29_value::to_value; #[allow(unused_imports)] use cu29_log_runtime::log; + #[allow(unused_imports)] +#[cfg(debug_assertions)] use cu29_log_runtime::log_debug_mode; + use cu29_traits::{CuError, CuResult}; use std::alloc::{GlobalAlloc, Layout, System};