Skip to content

Commit da28e88

Browse files
committed
fix RUSTC_WRAPPER env var
1 parent 822a4ed commit da28e88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ fn compile_probe() -> Option<ExitStatus> {
7171
fs::write(&probefile, PROBE).ok()?;
7272

7373
// Make sure to pick up Cargo rustc configuration.
74-
let mut cmd = if let Some(wrapper) = env::var_os("CARGO_RUSTC_WRAPPER") {
74+
let mut cmd = if let Some(wrapper) = env::var_os("RUSTC_WRAPPER") {
7575
let mut cmd = Command::new(wrapper);
7676
// The wrapper's first argument is supposed to be the path to rustc.
7777
cmd.arg(rustc);

0 commit comments

Comments
 (0)