From 598fb9190d69214abdf592566fde2f488582d383 Mon Sep 17 00:00:00 2001 From: messense Date: Sat, 10 Mar 2018 17:53:11 +0800 Subject: [PATCH] rerun build if USE_SKEPTIC env var changed --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index 887444c68..6048cca93 100644 --- a/build.rs +++ b/build.rs @@ -6,6 +6,7 @@ use std::{env, fs}; #[cfg(unix)] fn main() { + println!("cargo:rerun-if-env-changed=USE_SKEPTIC"); let f = env::var("OUT_DIR").unwrap() + "/skeptic-tests.rs"; if env::var("USE_SKEPTIC").is_ok() { let _ = fs::remove_file(f);