Skip to content

Commit

Permalink
Rerun build script on RUSTC_BOOTSTRAP change
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Dec 25, 2023
1 parent d160dd2 commit af16652
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ const PROBE: &str = r#"
"#;

fn main() {
println!("cargo:rerun-if-env-changed=RUSTC_BOOTSTRAP");

match compile_probe() {
Some(status) if status.success() => println!("cargo:rustc-cfg=error_generic_member_access"),
_ => {}
Expand Down

0 comments on commit af16652

Please sign in to comment.