[][src]Function rustc_driver::commit_hash_str

fn commit_hash_str() -> Option<&'static str>
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

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