We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f83ecd8 commit 419897cCopy full SHA for 419897c
src/bootstrap/src/utils/exec.rs
@@ -332,16 +332,19 @@ impl Default for CommandOutput {
332
333
/// Helper trait to format both Command and BootstrapCommand as a short execution line,
334
/// without all the other details (e.g. environment variables).
335
+#[cfg(feature = "tracing")]
336
pub trait FormatShortCmd {
337
fn format_short_cmd(&self) -> String;
338
}
339
340
341
impl FormatShortCmd for BootstrapCommand {
342
fn format_short_cmd(&self) -> String {
343
self.command.format_short_cmd()
344
345
346
347
348
impl FormatShortCmd for Command {
349
350
let program = Path::new(self.get_program());
0 commit comments