From e64287a8c4afbf9aabbe7b0eafbb062384f27a78 Mon Sep 17 00:00:00 2001 From: toast Date: Thu, 8 Aug 2024 17:11:54 +1000 Subject: [PATCH] I can't read, it seems. --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 8ddfed6..8e5530e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,6 +46,7 @@ static TASK_RUNNING: AtomicBool = AtomicBool::new(false); #[cfg(feature = "production")] pub static GIT_COMMIT_HASH: &str = env!("GIT_COMMIT_HASH"); +#[cfg(not(feature = "production"))] pub static GIT_COMMIT_HASH: &str = "devel"; async fn on_ready(