Skip to main content

Module rust

Module rust 

Source
Expand description

Rust toolchain checks and remediation.

Structs§

RustTargetAdditions
Installation plan adding rustup targets to a named toolchain.
RustToolchain
Rust toolchain checker.
RustToolchainInstallation
Installation plan for Rust toolchain fixes.
SelectedToolchainTargets
A required set of rustup targets on the toolchain selected for the host’s working directory — how platform checkers verify the compilation targets the build path invokes.

Enums§

FailToAddRustTargets
Errors from rustup target add.
FailToInstallRustToolchain
Errors that can occur during Rust toolchain installation.

Constants§

CLI_MINIMUM_RUST_VERSION
The CLI’s own rust-version — always part of the version floor the doctor enforces, because the crates it generates are compiled with this release’s language features and edition.

Functions§

nightly_toolchain_with_rust_src
A nightly toolchain that can compile the standard library from source.
rustc_verbose_version
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.