Function rustc_version::version_meta_for [] [src]

pub fn version_meta_for(verbose_version_string: &str) -> VersionMeta

Parses a "rustc -vV" output string and returns the SemVer version and additional metadata like the git short hash and build date.