aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.rs b/build.rs
index eaa42b3..e137ad7 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,