Skip to content

Commit

Permalink
Check RUSTC_WRAPPER instead of CARGO_RUSTC_WRAPPER.
Browse files Browse the repository at this point in the history
Similar to dtolnay/anyhow#248, and as suggested [here], check `RUSTC_WRAPPER`
instead of `CARGO_RUSTC_WRAPPER`.

[here]: #544 (comment)
  • Loading branch information
sunfishcode committed Mar 18, 2023
1 parent dd3de92 commit 7eab105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ fn main() {
println!("cargo:rerun-if-env-changed=CARGO_ENCODED_RUSTFLAGS");
println!("cargo:rerun-if-env-changed=RUSTC");
println!("cargo:rerun-if-env-changed=TARGET");
println!("cargo:rerun-if-env-changed=CARGO_RUSTC_WRAPPER");
println!("cargo:rerun-if-env-changed=RUSTC_WRAPPER");
println!("cargo:rerun-if-env-changed=PROFILE");
}

Expand Down

0 comments on commit 7eab105

Please sign in to comment.