Skip to content

Commit 626b7a8

Browse files
authored
Merge pull request #2797 from hi-rustin/rustin-patch-docs-show
Document automatic installation behavior via `rustup show`
2 parents 08a317f + 0e9375c commit 626b7a8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/src/overrides.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ the directory tree toward the filesystem root, and a `rust-toolchain.toml` file
1919
that is closer to the current directory will be preferred over a directory
2020
override that is further away.
2121

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

2427
[toolchain]: concepts/toolchains.md
2528
[toolchain override shorthand]: #toolchain-override-shorthand
@@ -141,3 +144,4 @@ rustup default nightly-2020-07-27
141144
```
142145

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

0 commit comments

Comments
 (0)