Skip to content

Commit 58cb371

Browse files
committed
Add rerun-if-changed instructions to build script
1 parent 8add60b commit 58cb371

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,5 +236,8 @@ fn main() {
236236
generate_glue().unwrap();
237237
} else {
238238
build_glue(&include_dir);
239+
println!("cargo:rerun-if-changed=src/ffi/glue/glue.c");
239240
}
241+
242+
println!("cargo:rerun-if-changed=build");
240243
}

0 commit comments

Comments
 (0)