rustc_version_str

Macro rustc_version_str 

Source
rustc_version_str!() { /* proc-macro */ }
Expand description

Rust compiler version as &'static str.

ยงExample

const RUSTC_VERSION_STRING: &str = compile_time::rustc_version_str!();
assert_eq!(RUSTC_VERSION_STRING, compile_time::rustc_version_str!());