Skip to content

Commit fee6d35

Browse files
committed
Tell cargo not to rebuild the world all the time
1 parent 9c89db3 commit fee6d35

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

build.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,10 @@ fn main() {
335335
make_map(&mut file);
336336
make_impl(&mut file);
337337
make_debug(&mut file);
338+
339+
// This is already assumed to be the case but there's no way to say that
340+
// you don't depend on anything at all
341+
println!("cargo:rerun-if-changed=build.rs");
338342
}
339343

340344
fn make_enum(file: &mut BufWriter<File>) {

0 commit comments

Comments
 (0)