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.
This commit is contained in:
Paul Jewell 2024-01-04 21:16:03 +00:00
parent c84352a346
commit 0d6ec9c987

View File

@ -186,10 +186,12 @@ $ pacman -S rust-analyzer
==== Gentoo Linux
`rust-analyzer` is installed when the `rust-analyzer` USE flag is set for `dev-lang/rust` or `dev-lang/rust-bin`.
You also need to set the `rust-src` USE flag.
There are two ways to install `rust-analyzer` under gentoo:
This is similar to using the `rustup` component, so it will install a version that lags behind the official releases on GitHub .
- When installing dev-lang/rust, or dev-lang/rust-bin, set the `rust-analyzer` USE flag, as well as the `rust-src` USE flag.
- Use the rustup component to install `rust-analyzer` (see instructions above).
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.
==== macOS