need to use the display function for the path or it rebuilds every time
This commit is contained in:
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());
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user