Function crate_git_revision::init

source ·
pub fn init()
Expand description

Initialize the GIT_REVISION environment variable with the git revision of the current crate.

Intended to be called from within a build script, build.rs file, for the crate.