//! Embeds the git build identity (`ARCBOX_BUILD_SHA`) so a running daemon can
//! be matched to a source revision. The dev workflow relies on this: the
//! packaged desktop app ships and restores its own daemon binary, so swapping a
//! local build into the bundle is unreliable — always confirm the running
//! daemon logs the expected SHA. With no `rerun-if-*` emitted, cargo re-runs
//! this script whenever the crate is rebuilt, keeping the SHA/dirty flag fresh.
use Command;