[go: up one dir, main page]

[][src]Function cfg_expr::targets::rustc_version

pub fn rustc_version() -> &'static str

Retrieves the version of rustc for which the built-in targets were retrieved from. Targets may be added and removed between different rustc versions.

assert_eq!("1.41.0", cfg_expr::targets::rustc_version());