From a37f103aac434c4c54e206eb1bfa6a2db9731823 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Thu, 11 Feb 2016 20:58:25 -0800 Subject: [PATCH] Depend on errcodes.txt --- build.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.rs b/build.rs index 931726df..f831cb5b 100644 --- a/build.rs +++ b/build.rs @@ -26,9 +26,8 @@ fn main() { make_map(&codes, &mut file); make_impl(&codes, &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"); + println!("cargo:rerun-if-changed=errcodes.txt"); } fn parse_codes() -> Vec {