pub fn rustc_version() -> &'static str
Expand description

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.58.0", cfg_expr::targets::rustc_version());