File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,21 @@ index d95b5b7f17f..00b6f0e3635 100644
27
27
[dev-dependencies]
28
28
rand = "0.7"
29
29
rand_xorshift = "0.2"
30
+ diff --git a/src/bootstrap/config.rs b/src/bootstrap/config.rs
31
+ index a6333976f2a..c9a872e876c 100644
32
+ --- a/src/bootstrap/config.rs
33
+ +++ b/src/bootstrap/config.rs
34
+ @@ -917,6 +917,10 @@ pub fn parse(args: &[String]) -> Config {
35
+ config.initial_cargo = config.out.join(config.build.triple).join("stage0/bin/cargo");
36
+ }
37
+
38
+ + // Workaround for rustbuild bug
39
+ + config.initial_rustc = PathBuf::from("$( pwd) /../build/rustc-clif");
40
+ + config.initial_cargo = PathBuf::from("$( rustup which cargo) ");
41
+ +
42
+ // NOTE: it's important this comes *after* we set \` initial_rustc\` just above.
43
+ if config.dry_run {
44
+ let dir = config.out.join("tmp-dry-run");
30
45
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs
31
46
index 8431aa7b818..a3ff7e68ce5 100644
32
47
--- a/src/tools/compiletest/src/runtest.rs
You can’t perform that action at this time.
0 commit comments