rustc_version_full

Function rustc_version_full 

Source
pub const fn rustc_version_full() -> &'static str
Expand description

Returns the rustc version that was used to build this application

This function returns the full version string, e.g., rustc 1.90.0 (1159e78c4 2025-09-14).

Examples found in repository?
examples/rustc_version_example.rs (line 8)
8const RUSTC_VERSION_FULL: &str = rustc_version_full();