Skip to main content

set_build_id

Function set_build_id 

Source
pub fn set_build_id(id: &str)
Expand description

Record this process’s build id. The synaps binary calls it first thing in main with the id its build script baked in (the short commit, -dirty with uncommitted changes, or SYNAPS_BUILD_ID from the build environment). It lives in the root crate, not here, so a new commit does not recompile the engine. First call wins; later calls are ignored.