From 3fcd049e738ad7e4377609104a1dce5f4dfa2cf9 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 11 Apr 2026 18:54:22 +0800 Subject: Add debug feature flag to trace_ctx function --- mingling_core/src/asset/comp.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/mingling_core/src/asset/comp.rs b/mingling_core/src/asset/comp.rs index 95efc70..c7fe719 100644 --- a/mingling_core/src/asset/comp.rs +++ b/mingling_core/src/asset/comp.rs @@ -288,6 +288,7 @@ fn print_suggest_with_description_fish(suggestions: BTreeSet) { std::process::exit(0); } +#[cfg(feature = "debug")] fn trace_ctx(ctx: &ShellContext) { trace!("=== SHELL CTX BEGIN ==="); trace!("command_line={}", ctx.command_line); -- cgit