Skip to main content

CURRENT_BUILD

Constant CURRENT_BUILD 

Source
pub const CURRENT_BUILD: &str = "v0.2.0";
Expand description

This CLI binary’s build id (short git hash, -dirty when the tree had uncommitted changes), embedded at compile time by build.rs. A long-lived daemon records the build it started from; a mismatch means the installed binary is newer and the daemon is running stale code.