You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
401 B

fn main() {
// Auto-generate build timestamp so we don't need $(date) in the shell
let ts = std::time::SystemTime::now()
.duration_since(std::time::UNIX_EPOCH)
.unwrap()
.as_secs();
println!("cargo:rustc-env=ARZ_BUILD_TS={ts}");
// Force rebuild when source changes
println!("cargo:rerun-if-changed=src/");
println!("cargo:rerun-if-changed=static/");
}