Skip to main content

GIT_HASH

Constant GIT_HASH 

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

Short git commit hash the binary was built from, stamped by build.rs at build time via pure std::fs (no shellout — the zero-shell law). env! (not option_env!) because build.rs emits ZNIPPY_GIT_HASH on every build; unknown off a git checkout.