Skip to main content

rustc_verbose_version

Function rustc_verbose_version 

Source
pub async fn rustc_verbose_version(
    host: &Host,
    toolchain: &str,
) -> Result<String>
Expand description

The rustc -vV identity of toolchain — what a cached -Zbuild-std artifact pins to, because a channel name like nightly outlives the compiler it resolves to after rustup update.

§Errors

Returns an error when rustup cannot run the toolchain’s rustc.