We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cad5f0 commit 0de85cdCopy full SHA for 0de85cd
src/tools/run-make-support/src/lib.rs
@@ -27,7 +27,7 @@ pub fn out_dir() -> PathBuf {
27
}
28
29
fn setup_common_rustc_build_cmd() -> Command {
30
- let rustc = env::var("RUSTC").unwrap();
+ let rustc = env::var_os("RUSTC").unwrap();
31
let mut cmd = Command::new(rustc);
32
add_host_rpath_env(&mut cmd);
33
cmd.arg("--out-dir").arg(out_dir()).arg("-L").arg(out_dir());
0 commit comments