Skip to main content

BUILD_COMMIT

Constant BUILD_COMMIT 

Source
pub const BUILD_COMMIT: &str = "d33ce048748b";
Expand description

Git commit (a ≥ 12-hex prefix) of the capsule-core source tree, embedded at build time.

Falls back to UNKNOWN_COMMIT when the build ran without a usable git probe (missing binary, non-repository, or a shallow clone with no reachable commit) — a documented sentinel, never a build failure. See build.rs.