Skip to content

Commit 28e4a9a

Browse files
committed
Auto merge of rust-lang#16262 - paul-jewell:gentoo-instruction-tuneup, r=lnicola
Further tuning of the Gentoo installation instructions. Based on feedback from the Gentoo repository maintainer, addition of the possibility to install rust-analyzer via rustup.
2 parents c84352a + 03ec008 commit 28e4a9a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/user/manual.adoc

+6-3
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,13 @@ $ pacman -S rust-analyzer
186186

187187
==== Gentoo Linux
188188

189-
`rust-analyzer` is installed when the `rust-analyzer` USE flag is set for `dev-lang/rust` or `dev-lang/rust-bin`.
190-
You also need to set the `rust-src` USE flag.
189+
There are two ways to install `rust-analyzer` under Gentoo:
191190

192-
This is similar to using the `rustup` component, so it will install a version that lags behind the official releases on GitHub .
191+
- when installing `dev-lang/rust` or `dev-lang/rust-bin`, enable the `rust-analyzer` and `rust-src` USE flags
192+
- use the `rust-analyzer` component in `rustup` (see instructions above)
193+
194+
Note that in both cases, the version installed lags for a couple of months behind the official releases on GitHub.
195+
To obtain a newer one, you can download a binary from GitHub Releases or building from source.
193196

194197
==== macOS
195198

0 commit comments

Comments
 (0)