Skip to content

Commit

Permalink
Merge pull request #269 from dtolnay/bootstrap
Browse files Browse the repository at this point in the history
Rerun build script on RUSTC_BOOTSTRAP change
  • Loading branch information
dtolnay authored Dec 25, 2023
2 parents d160dd2 + af16652 commit c89ee6c
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 c89ee6c

Please sign in to comment.