Function rustc_interface::util::commit_hash_str[−][src]

pub fn commit_hash_str() -> Option<&'static str>

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