From 29a59d799945d3f97b91ad3df84925c788bd7852 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Sat, 5 Dec 2015 20:13:46 +0100 Subject: [PATCH] Use the new build scripts dependencies system --- build.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.rs b/build.rs index eaa42b37..e137ad77 100644 --- a/build.rs +++ b/build.rs @@ -9,6 +9,8 @@ fn main() { let target = env::var("TARGET").unwrap(); let dest = PathBuf::from(&env::var("OUT_DIR").unwrap()); + println!("cargo:rerun-if-changed=build.rs"); + if target.contains("windows") { let mut file = File::create(&dest.join("wgl_bindings.rs")).unwrap(); gl_generator::generate_bindings(gl_generator::StaticGenerator,