[−][src]Function rustc_driver::commit_hash_str
fn commit_hash_str() -> Option<&'static str>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Returns the full SHA1 hash of HEAD of the Git repo from which rustc was built.