Skip to main content

GIT_HASH

Constant GIT_HASH 

Source
pub const GIT_HASH: &str = "unknown";
Expand description

Short git commit hash captured at build time by build.rs.

Why: Correlates a running binary to the exact commit that produced it. What: Populated from git rev-parse --short HEAD during compilation; falls back to "unknown" when git is unavailable. Test: version_string_contains_version confirms both fields render.