Skip to content

Commit

Permalink
Merge pull request #252 from dtolnay/rerun
Browse files Browse the repository at this point in the history
Work around RA's RUSTC_WRAPPER poisoning all subsequent command-line builds
  • Loading branch information
dtolnay committed Aug 10, 2022
2 parents e55761e + 77317b5 commit 6e6af39
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 6e6af39

Please sign in to comment.