rustup

rustup update

Refresh an installed moving channel to a newer available release. Review compatibility before changing a shared development environment; a version-pinned project should still be tested against its exact compiler. Rustup itself may also update depending on configuration. Example format: shell. Manual illustration; review prerequisites and side effects before execution. No automatic installation, updates, network calls or configuration changes. Expected result (not executed): Network and local installation changes may occur; no exact version predicted. Common mistake: Updating without rerunning tests or confusing a channel with a fixed version.

Formal Syntax & Structure

rust syntaxrust
rustup update [TOOLCHAIN]

Working Example

Example Snippetrust
rustup update stable
Rust Reference