Function cfg_expr::targets::rustc_version

source ยท
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.