From 3202a6858a2802b5aba2fa5cf3ec8f203408db74 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 8 May 2024 21:59:41 -0700 Subject: [PATCH] Skip rerunning build script on library code changes --- serde_derive/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/serde_derive/build.rs b/serde_derive/build.rs index ecd2acf40..ebaa409a4 100644 --- a/serde_derive/build.rs +++ b/serde_derive/build.rs @@ -1,6 +1,7 @@ fn main() { // Warning: build.rs is not published to crates.io. + println!("cargo:rerun-if-changed=build.rs"); println!("cargo:rustc-cfg=check_cfg"); println!("cargo:rustc-check-cfg=cfg(check_cfg)"); println!("cargo:rustc-check-cfg=cfg(exhaustive)");