Skip to content
Myr

fix RUSTC_WRAPPER env var

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Ralf Jung · committed by Ralf Jung · parent 822a4ed · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:build.rs+1 added-1 removed
69 unmodified lines
70 let probefile = Path::new(&out_dir).join("probe.rs");71 fs::write(&probefile, PROBE).ok()?;7273 // 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") {75 let mut cmd = Command::new(wrapper);76 // The wrapper's first argument is supposed to be the path to rustc.77 cmd.arg(rustc);78 cmd
39 unmodified lines