diff --git a/crates/fj/build.rs b/crates/fj/build.rs index e997413bd..da5c3137e 100644 --- a/crates/fj/build.rs +++ b/crates/fj/build.rs @@ -8,6 +8,9 @@ fn main() { println!("cargo:rustc-env=FJ_VERSION_PKG={}", version.pkg_version); println!("cargo:rustc-env=FJ_VERSION_FULL={}", version.full_string); + + // Make sure the build script doesn't run too often. + println!("cargo:rerun-if-changed=Cargo.toml"); } struct Version {