Skip to main content

rustc_version

Function rustc_version 

Source
fn rustc_version(sess: &Session) -> Cow<'static, str>
Expand description

A version string that hopefully is always different for compiler versions with different encodings of incremental compilation artifacts. Contains the Git commit hash.