diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-03-27 10:40:25 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-27 10:40:25 +0000 |
commit | 97dbbad482e3382da027f2f151354445d8af029a (patch) | |
tree | 205ae6d8c47e4e450f977a528408e954288fa394 /docs/user | |
parent | ae9201431922fc7a705437df6d11153dd265f7eb (diff) | |
parent | ea8159893a60430ede424ef453476545d58e5f95 (diff) |
Merge #8214
8214: Mention the rustup version in the manual r=lnicola a=lnicola
Closes #7860
bors r+
changelog fix mention the `rustup` version in the installation instructions.
Co-authored-by: Laurențiu Nicola <[email protected]>
Diffstat (limited to 'docs/user')
-rw-r--r-- | docs/user/manual.adoc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index 36a86e78f..b1beeb883 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc | |||
@@ -178,6 +178,15 @@ $ cargo xtask install --server | |||
178 | If your editor can't find the binary even though the binary is on your `$PATH`, the likely explanation is that it doesn't see the same `$PATH` as the shell, see https://github.com/rust-analyzer/rust-analyzer/issues/1811[this issue]. | 178 | If your editor can't find the binary even though the binary is on your `$PATH`, the likely explanation is that it doesn't see the same `$PATH` as the shell, see https://github.com/rust-analyzer/rust-analyzer/issues/1811[this issue]. |
179 | On Unix, running the editor from a shell or changing the `.desktop` file to set the environment should help. | 179 | On Unix, running the editor from a shell or changing the `.desktop` file to set the environment should help. |
180 | 180 | ||
181 | ==== `rustup` | ||
182 | |||
183 | `rust-analyzer` is available in `rustup`, but only in the nightly toolchain: | ||
184 | |||
185 | [source,bash] | ||
186 | --- | ||
187 | $ rustup +nightly component add rust-analyzer-preview | ||
188 | --- | ||
189 | |||
181 | ==== Arch Linux | 190 | ==== Arch Linux |
182 | 191 | ||
183 | The `rust-analyzer` binary can be installed from the repos or AUR (Arch User Repository): | 192 | The `rust-analyzer` binary can be installed from the repos or AUR (Arch User Repository): |