Skip to content

Commit

Permalink
use var_os for RUSTC
Browse files Browse the repository at this point in the history
  • Loading branch information
5225225 committed Mar 20, 2024
1 parent 6cad5f0 commit 0de85cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/run-make-support/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub fn out_dir() -> PathBuf {
}

fn setup_common_rustc_build_cmd() -> Command {
let rustc = env::var("RUSTC").unwrap();
let rustc = env::var_os("RUSTC").unwrap();
let mut cmd = Command::new(rustc);
add_host_rpath_env(&mut cmd);
cmd.arg("--out-dir").arg(out_dir()).arg("-L").arg(out_dir());
Expand Down

0 comments on commit 0de85cd

Please sign in to comment.