Skip to main content

GIT_HASH

Constant GIT_HASH 

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

Short git hash of the workspace HEAD at build time. When the tree was dirty at build time the value is extended to <hash>-dirty-<YYYYMMDDTHHMMSSZ> (ISO 8601 basic UTC). Falls back to "unknown" when git is unavailable.