Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #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.
| -rw-r--r-- | docs/user/manual.adoc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index 2a65fba7b6..fa8413c19a 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc @@ -186,10 +186,13 @@ $ 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`, enable the `rust-analyzer` and `rust-src` USE flags +- use the `rust-analyzer` component in `rustup` (see instructions above) + +Note that in both cases, the version installed lags for a couple of months behind the official releases on GitHub. +To obtain a newer one, you can download a binary from GitHub Releases or building from source. ==== macOS |