From 0d6ec9c987c8b37f3e23314e64e1c9d4c8d93851 Mon Sep 17 00:00:00 2001 From: Paul Jewell Date: Thu, 4 Jan 2024 21:16:03 +0000 Subject: [PATCH] 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. --- docs/user/manual.adoc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index 2a65fba7b6b..682770ba065 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc @@ -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