From af1665218f0158eb5ee3f258c8cc1a69fd921634 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 25 Dec 2023 12:12:03 -0800 Subject: [PATCH] Rerun build script on RUSTC_BOOTSTRAP change --- build.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.rs b/build.rs index 8bf19e1..3dc4bfe 100644 --- a/build.rs +++ b/build.rs @@ -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"), _ => {}