about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbit-aloo <sshourya17@gmail.com>2025-06-11 13:30:53 +0530
committerbit-aloo <sshourya17@gmail.com>2025-06-11 13:30:53 +0530
commit9dd7c019fe9a31450b08e2639e777a40ae426c64 (patch)
tree9bcb37563ccd420786cc4aca4cfee7183848368e
parent2b0274c71dba0e24370ebf65593da450e2e91868 (diff)
downloadrust-9dd7c019fe9a31450b08e2639e777a40ae426c64.tar.gz
rust-9dd7c019fe9a31450b08e2639e777a40ae426c64.zip
add trace_cmd import in tracing feature in execution context
-rw-r--r--src/bootstrap/src/utils/execution_context.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap/src/utils/execution_context.rs b/src/bootstrap/src/utils/execution_context.rs
index d12c02c161d..a5e1e9bcc07 100644
--- a/src/bootstrap/src/utils/execution_context.rs
+++ b/src/bootstrap/src/utils/execution_context.rs
@@ -6,6 +6,8 @@
 use std::sync::{Arc, Mutex};
 
 use crate::core::config::DryRun;
+#[cfg(feature = "tracing")]
+use crate::trace_cmd;
 use crate::{BehaviorOnFailure, BootstrapCommand, CommandOutput, OutputMode, exit};
 
 #[derive(Clone, Default)]