1
0
forked from M-Labs/nac3

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

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")
.args(flags)