Function rustc_driver::commit_hash_str [] [src]

pub fn commit_hash_str() -> Option<&'static str>
🔬 This is a nightly-only experimental API. (rustc_private)

Returns the full SHA1 hash of HEAD of the Git repo from which rustc was built.