Add auto-gen notice to build template.

This commit is contained in:
Stephen Chung 2022-10-25 20:53:27 +08:00
parent 6702fe349c
commit 6b24cc151e
3 changed files with 5 additions and 0 deletions

View File

@ -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();

View File

@ -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.

View File

@ -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.