From 477cae3bd7d71c347b3031809a153cfbeecd1c23 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Thu, 3 Mar 2022 06:12:32 -0600 Subject: copy over `std::path::absolute` instead of adding `canonicalize` hacks this also fixes a bug where bootstrap would try to use the fake `rustc` binary built by bootstrap - cargo puts it in a different directory when using `cargo run` instead of x.py --- src/bootstrap/builder/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bootstrap/builder') diff --git a/src/bootstrap/builder/tests.rs b/src/bootstrap/builder/tests.rs index bd0be6da0b1..b76bb569852 100644 --- a/src/bootstrap/builder/tests.rs +++ b/src/bootstrap/builder/tests.rs @@ -3,7 +3,7 @@ use crate::config::{Config, TargetSelection}; use std::thread; fn configure(cmd: &str, host: &[&str], target: &[&str]) -> Config { - let mut config = Config::parse(&[cmd.to_owned()], true); + let mut config = Config::parse(&[cmd.to_owned()]); // don't save toolstates config.save_toolstates = None; config.dry_run = true; -- cgit 1.4.1-3-g733a5