Skip to content

Commit 0de85cd

Browse files
committed
use var_os for RUSTC
1 parent 6cad5f0 commit 0de85cd

File tree

1 file changed

+1
-1
lines changed
  • src/tools/run-make-support/src

1 file changed

+1
-1
lines changed

src/tools/run-make-support/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub fn out_dir() -> PathBuf {
2727
}
2828

2929
fn setup_common_rustc_build_cmd() -> Command {
30-
let rustc = env::var("RUSTC").unwrap();
30+
let rustc = env::var_os("RUSTC").unwrap();
3131
let mut cmd = Command::new(rustc);
3232
add_host_rpath_env(&mut cmd);
3333
cmd.arg("--out-dir").arg(out_dir()).arg("-L").arg(out_dir());

0 commit comments

Comments
 (0)