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 9b90af4 commit 31fb289Copy full SHA for 31fb289
src/main.rs
@@ -461,6 +461,8 @@ impl Toolchain {
461
let mut cargo = Command::new("cargo");
462
cargo.arg(&format!("+{}", self.rustup_name()));
463
cargo.current_dir(&cfg.args.test_dir);
464
+ let _ = fs::remove_dir_all(
465
+ cfg.args.test_dir.join(&format!("target-{}", self.rustup_name())));
466
cargo.env("CARGO_TARGET_DIR", format!("target-{}", self.rustup_name()));
467
if cfg.args.cargo_args.is_empty() {
468
cargo.arg("build");
0 commit comments