diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-04-11 18:54:22 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-04-11 18:54:22 +0800 |
| commit | 3fcd049e738ad7e4377609104a1dce5f4dfa2cf9 (patch) | |
| tree | b1233e0dc320ad70b0cf91538baa8bc6c472f86c /mingling_core | |
| parent | 1eb5306fe6e0e09970b37d267051589d8133a824 (diff) | |
Add debug feature flag to trace_ctx function
Diffstat (limited to 'mingling_core')
| -rw-r--r-- | mingling_core/src/asset/comp.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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<SuggestItem>) { std::process::exit(0); } +#[cfg(feature = "debug")] fn trace_ctx(ctx: &ShellContext) { trace!("=== SHELL CTX BEGIN ==="); trace!("command_line={}", ctx.command_line); |
