rustup: update page, rustup-{show,update,check,default,toolchain,target}: add page (#10642)

This commit is contained in:
Lena
2023-09-02 15:12:22 +02:00
committed by GitHub
parent 77fb6d0af0
commit 21d2ad3053
7 changed files with 92 additions and 6 deletions

View File

@@ -1,8 +1,8 @@
# rustup
> Rust toolchain installer.
> Install, manage, and update Rust toolchains.
> More information: <https://github.com/rust-lang/rustup.rs>.
> Some subcommands, such as `toolchain`, `target`, `update`, etc. have their own usage documentation.
> More information: <https://rust-lang.github.io/rustup>.
- Install the nightly toolchain for your system:
@@ -12,7 +12,7 @@
`rustup default nightly`
- Use the nightly toolchain when inside the current project, but leave global settings unchanged:
- Use the nightly toolchain when inside the current project but leave global settings unchanged:
`rustup override set nightly`
@@ -24,10 +24,10 @@
`rustup show`
- Run cargo build with a certain toolchain:
- Run `cargo build` with a certain toolchain:
`rustup run {{toolchain_name}} cargo build`
`rustup run {{toolchain}} cargo build`
- Open the local rust documentation in the default web browser:
- Open the local Rust documentation in the default web browser:
`rustup doc`