Function rustc_version_runtime::version_matches [] [src]

pub fn version_matches(req: &str) -> bool

Check wether the rustc version matches the given SemVer version requirement.