Updated instructions for installing rust-analyzer under Gentoo.

This commit is contained in:
Paul Jewell 2023-11-17 14:41:34 +00:00
parent bc978217b3
commit 331abe2d1f

View File

@ -186,18 +186,7 @@ $ pacman -S rust-analyzer
==== Gentoo Linux ==== Gentoo Linux
`rust-analyzer` is available in the GURU repository: `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.
- https://gitweb.gentoo.org/repo/proj/guru.git/tree/dev-util/rust-analyzer?id=9895cea62602cfe599bd48e0fb02127411ca6e81[`dev-util/rust-analyzer`] builds from source
- https://gitweb.gentoo.org/repo/proj/guru.git/tree/dev-util/rust-analyzer-bin?id=9895cea62602cfe599bd48e0fb02127411ca6e81[`dev-util/rust-analyzer-bin`] installs an official binary release
If not already, GURU must be enabled (e.g. using `app-eselect/eselect-repository`) and sync'd before running `emerge`:
[source,bash]
----
$ eselect repository enable guru && emaint sync -r guru
$ emerge rust-analyzer-bin
----
==== macOS ==== macOS