Skip to content

Commit b1b0d86

Browse files
committed
fix(toolchain): fix proxy fallback notification format on Windows
1 parent fe82b04 commit b1b0d86

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/toolchain.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,13 +339,19 @@ impl<'a> Toolchain<'a> {
339339
if let "cargo" | "cargo.exe" = binary {
340340
if let Some(cmd) = self.maybe_do_cargo_fallback()? {
341341
info!("`cargo` is unavailable for the active toolchain");
342-
info!("falling back to {:?}", cmd.get_program());
342+
info!(
343+
r#"falling back to "{}""#,
344+
Path::new(cmd.get_program()).display()
345+
);
343346
return Ok(cmd);
344347
}
345348
} else if let "rust-analyzer" | "rust-analyzer.exe" = binary {
346349
if let Some(cmd) = self.maybe_do_rust_analyzer_fallback(binary)? {
347350
info!("`rust-analyzer` is unavailable for the active toolchain");
348-
info!("falling back to {:?}", cmd.get_program());
351+
info!(
352+
r#"falling back to "{}""#,
353+
Path::new(cmd.get_program()).display()
354+
);
349355
return Ok(cmd);
350356
}
351357
}

0 commit comments

Comments
 (0)