rustup: update page, rustup-{show,update,check,default,toolchain,target}: add page (#10642)
This commit is contained in:
@@ -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`
|
||||
|
Reference in New Issue
Block a user