Rerun on new files.

This commit is contained in:
Nicolas Patry
2023-06-29 15:59:58 +00:00
parent b5bdbef53a
commit 1ea08a19cb

View File

@ -87,6 +87,7 @@ mod cuda {
std::fs::remove_file(out_path.unwrap()).unwrap(); std::fs::remove_file(out_path.unwrap()).unwrap();
} }
println!("cargo:rerun-if-changed=src/");
for path in &kernel_paths { for path in &kernel_paths {
println!("cargo:rerun-if-changed={}", path.display()); println!("cargo:rerun-if-changed={}", path.display());
} }