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)");