forked from M-Labs/nac3
1
0
Fork 0

core: nac3core cargo rerun if irrt/ directory changes

This commit is contained in:
lyken 2024-07-09 12:29:09 +08:00
parent eb048f7f6b
commit 3528286679
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ fn compile_irrt(irrt_dir: &Path, out_dir: &Path) {
"-", "-",
]; ];
println!("cargo:rerun-if-changed={path}", path = irrt_cpp_path.to_str().unwrap()); println!("cargo:rerun-if-changed={}", out_dir.to_str().unwrap());
let output = Command::new("clang-irrt") let output = Command::new("clang-irrt")
.args(flags) .args(flags)