need to use the display function for the path or it rebuilds every time

This commit is contained in:
Bryan Stitt 2023-07-03 13:45:59 -07:00
parent ee6b725a1b
commit 10bd615f14

@ -5,7 +5,7 @@ fn main() {
// Tell Cargo that if the given file changes, to rerun this build script.
glob("./abi/*.json").unwrap().for_each(|x| {
if let Ok(x) = x {
println!("cargo:rerun-if-changed={:?}", x);
println!("cargo:rerun-if-changed={}", x.display());
}
});