From 7f362c7ab4a1b469778c40f4d6b3f5d9a6212741 Mon Sep 17 00:00:00 2001 From: Nadja Reitzenstein Date: Wed, 16 Mar 2022 15:17:09 +0100 Subject: [PATCH] Rerun on changed BFFHD_BUILD_TAGGED_RELEASE env var --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index e94d031..1cc4f92 100644 --- a/build.rs +++ b/build.rs @@ -48,6 +48,7 @@ fn main() { let rustc_version = rustc_version.trim(); println!("cargo:rustc-env=CARGO_RUSTC_VERSION={}", rustc_version); + println!("cargo:rerun-if-env-changed=BFFHD_BUILD_TAGGED_RELEASE"); let tagged_release = option_env!("BFFHD_BUILD_TAGGED_RELEASE") == Some("1"); let release = if tagged_release { format!("BFFH {version} [{rustc}]",