From fee6d358bf542b9e0f0d21426bcee488f6972ece Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sat, 5 Dec 2015 18:57:00 -0800 Subject: [PATCH] Tell cargo not to rebuild the world all the time --- build.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.rs b/build.rs index 9f01698c..4290affd 100644 --- a/build.rs +++ b/build.rs @@ -335,6 +335,10 @@ fn main() { make_map(&mut file); make_impl(&mut file); make_debug(&mut file); + + // This is already assumed to be the case but there's no way to say that + // you don't depend on anything at all + println!("cargo:rerun-if-changed=build.rs"); } fn make_enum(file: &mut BufWriter) {