Skip to main content

build_commit

Function build_commit 

Source
pub fn build_commit() -> Option<&'static str>
Expand description

The validated build revision stamped into this binary, if any.

build.rs validates the commit and blanks the ambient aliases; this re-applies the same grammar so a value the build script rejected can never be displayed as a build revision (issue #76).