cfg_expr::targets

Function 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.