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"), _ => {}