Skip to content

Commit

Permalink
Work around RA's RUSTC_WRAPPER poisoning all subsequent command-line …
Browse files Browse the repository at this point in the history
…builds
  • Loading branch information
dtolnay committed Aug 10, 2022
1 parent e55761e commit 77317b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.rs
Expand Up @@ -65,6 +65,8 @@ fn main() {
}

fn compile_probe() -> Option<ExitStatus> {
println!("cargo:rerun-if-env-changed=RUSTC_WRAPPER");

let rustc = env::var_os("RUSTC")?;
let out_dir = env::var_os("OUT_DIR")?;
let probefile = Path::new(&out_dir).join("probe.rs");
Expand Down

0 comments on commit 77317b5

Please sign in to comment.