Only rerun build script if src/ changes

This commit is contained in:
Matthew Esposito 2023-12-28 15:21:06 -05:00
parent 9850109326
commit 4461a7d172
No known key found for this signature in database

View File

@ -7,6 +7,7 @@ use std::os::unix::process::ExitStatusExt;
use std::os::windows::process::ExitStatusExt;
fn main() {
println!("cargo:rerun-if-changed=src/");
let output = String::from_utf8(
Command::new("git")
.args(["rev-parse", "HEAD"])