make caching system more robust

This commit is contained in:
Simon Gardling
2022-05-11 18:33:06 -04:00
parent cd930966b9
commit 8d4a315a96
7 changed files with 60 additions and 16 deletions

View File

@@ -6,12 +6,10 @@ use epaint::Color32;
use shadow_rs::shadow;
shadow!(build);
pub const COMMIT: &str = build::SHORT_COMMIT;
// Constant string that has a string containing information about the build.
pub const BUILD_INFO: &str = formatc!(
"Commit: {} ({})\nBuild Date: {}\nPackage Version: {}\nRust Channel: {}\nRust Version: {}",
&COMMIT,
&build::SHORT_COMMIT,
&build::BRANCH,
&build::BUILD_TIME,
&build::PKG_VERSION,