Skip to content

Commit e3c9d96

Browse files
committed
Avoid rebuilds triggered by build.rs unless src/lib.rs actually changed.
1 parent db0506f commit e3c9d96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mp4parse_capi/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
extern crate cheddar;
22

33
fn main() {
4+
println!("cargo:rerun-if-changed=src/lib.rs");
45
// Generate mp4parse.h.
56
cheddar::Cheddar::new().expect("could not read manifest")
67
.insert_code("// THIS FILE IS AUTOGENERATED BY mp4parse-rust/build.rs - DO NOT EDIT\n\n")

0 commit comments

Comments
 (0)