1//! Compatibility checks. 2 3use crate::PdStr; 4 5/// Rust compiler version used to build this library. 6pub fn rustc_version() -> PdStr { 7 env!("RUSTC_VERSION").into() 8}