diff --git a/build.rs b/build.rs index fa7570c5..66903154 100644 --- a/build.rs +++ b/build.rs @@ -6,6 +6,7 @@ use std::{ fn main() { // Tell Cargo that if the given environment variable changes, to rerun this build script. + println!("cargo:rerun-if-changed=build.template"); println!("cargo:rerun-if-env-changed=RHAI_AHASH_SEED"); let mut contents = String::new(); diff --git a/build.template b/build.template index b55d13e8..6f09909f 100644 --- a/build.template +++ b/build.template @@ -1,4 +1,6 @@ //! Configuration settings for this Rhai build +//! +//! This file is auto-generated from `build.template` /// Fixed hashing seeds for stable hashing. /// Set to [`None`] to disable stable hashing. diff --git a/src/config.rs b/src/config.rs index 9eb456fd..93db79d5 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1,4 +1,6 @@ //! Configuration settings for this Rhai build +//! +//! This file is auto-generated from `build.template` /// Fixed hashing seeds for stable hashing. /// Set to [`None`] to disable stable hashing.