Skip to content

Commit

Permalink
Merge pull request #2797 from hi-rustin/rustin-patch-docs-show
Browse files Browse the repository at this point in the history
Document automatic installation behavior via `rustup show`
  • Loading branch information
kinnison authored Jul 17, 2021
2 parents 08a317f + 0e9375c commit 626b7a8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion doc/src/overrides.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ the directory tree toward the filesystem root, and a `rust-toolchain.toml` file
that is closer to the current directory will be preferred over a directory
override that is further away.

To verify which toolchain is active use `rustup show`.
To verify which toolchain is active, you can use `rustup show`,
which will also try to install the corresponding
toolchain if the current one has not been installed according to the above rules.
(Please note that this behavior is subject to change, as detailed in issue [#1397].)

[toolchain]: concepts/toolchains.md
[toolchain override shorthand]: #toolchain-override-shorthand
Expand Down Expand Up @@ -141,3 +144,4 @@ rustup default nightly-2020-07-27
```

[installed]: installation/index.md
[#1397]: https://github.com/rust-lang/rustup/issues/1397

0 comments on commit 626b7a8

Please sign in to comment.