feat: don't run cache busting routines during debug build

This commit is contained in:
realaravinth 2022-05-08 20:00:05 +05:30
parent 100fb4d5ab
commit 6550266aef
No known key found for this signature in database
GPG key ID: AD9F0F08E855ED88

View file

@ -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();
}