rustc_incremental::persist::file_format

Function rustc_version

Source
fn rustc_version(
    nightly_build: bool,
    cfg_version: &'static str,
) -> 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.