Skip to content

Commit aac7d9e

Browse files
Provide bootstrap tools with RUSTC in environment
1 parent f0392c2 commit aac7d9e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bootstrap/tool.rs

+4
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,10 @@ impl<'a> Builder<'a> {
701701
}
702702

703703
add_dylib_path(lib_paths, &mut cmd);
704+
705+
// Provide a RUSTC for this command to use.
706+
cmd.env("RUSTC", &self.initial_rustc);
707+
704708
cmd
705709
}
706710
}

0 commit comments

Comments
 (0)