Add rerun-if-changed instructions to build script

This commit is contained in:
Alex Orlenko 2021-04-14 22:33:14 +01:00
parent 8add60b019
commit 58cb371f06
1 changed files with 3 additions and 0 deletions

View File

@ -236,5 +236,8 @@ fn main() {
generate_glue().unwrap(); generate_glue().unwrap();
} else { } else {
build_glue(&include_dir); build_glue(&include_dir);
println!("cargo:rerun-if-changed=src/ffi/glue/glue.c");
} }
println!("cargo:rerun-if-changed=build");
} }