rustup安装、管理和更新 Rust 工具链。 一些子命令,如
toolchain、target、update等有自己的使用文档。 更多信息:https://rust-lang.github.io/rustup.
rustup install nightly
cargo 和 rustc 命令使用它:rustup default nightly
rustup override set nightly
rustup update
rustup show
cargo build:rustup run {{工具链}} cargo build
rustup doc