diff options
| author | Joshua Nelson <jnelson@cloudflare.com> | 2022-03-03 06:12:32 -0600 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2022-03-07 17:06:31 -0500 |
| commit | 477cae3bd7d71c347b3031809a153cfbeecd1c23 (patch) | |
| tree | 74b90001923342cbd2340fa81c17a42b1fb7934e /src/bootstrap/builder | |
| parent | 984527f7bb49bd6e2d34e65d7629d2e0cdc464f6 (diff) | |
| download | rust-477cae3bd7d71c347b3031809a153cfbeecd1c23.tar.gz rust-477cae3bd7d71c347b3031809a153cfbeecd1c23.zip | |
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
Diffstat (limited to 'src/bootstrap/builder')
| -rw-r--r-- | src/bootstrap/builder/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
