From 6550266aef55fe2c2542c30319eec2be4051c932 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Sun, 8 May 2022 20:00:05 +0530 Subject: [PATCH] feat: don't run cache busting routines during debug build --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index 10012ece..cd425aa2 100644 --- a/build.rs +++ b/build.rs @@ -31,6 +31,7 @@ fn main() { let now = OffsetDateTime::now_utc().format("%y-%m-%d"); println!("cargo:rustc-env=COMPILED_DATE={}", &now); + #[cfg(not(debug_assertions))] cache_bust(); }