Skip to content

Commit

Permalink
fix: option_env
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Oct 28, 2024
1 parent c68e8c4 commit b21aa47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ mod release;
mod util;
mod window;

const HASH: Option<&'static str> = env_opt!("GIT_HASH");
const HASH: Option<&'static str> = std::option_env!("GIT_HASH");

#[tauri::command]
fn git_hash() -> String {
Expand Down

0 comments on commit b21aa47

Please sign in to comment.