Skip to content

Commit 0d6ec9c

Browse files
committed
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.
1 parent c84352a commit 0d6ec9c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/user/manual.adoc

+5-3
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,12 @@ $ 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, set the `rust-analyzer` USE flag, as well as the `rust-src` USE flag.
192+
- Use the rustup component to install `rust-analyzer` (see instructions above).
193+
194+
In both cases, the version installed lags behind the official releases on GitHub. If you need a newer version of `rust-analyzer`, then consider installing from source.
193195

194196
==== macOS
195197

0 commit comments

Comments
 (0)