mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 19:53:46 +00:00
Auto merge of #15922 - paul-jewell:master, r=Veykril
Updated instructions for installing rust-analyzer under Gentoo. No need to install the guru overlay to install rust-analyzer. This is now installed based on use flag settings for dev-lang/rust and dev-lang/rust-bin. This pull request changes the instructions in the user manual. Note: rust-analyzer is not available in the guru repository, so the old instructions no longer work.
This commit is contained in:
commit
91ffbd7788
@ -186,18 +186,7 @@ $ pacman -S rust-analyzer
|
||||
|
||||
==== Gentoo Linux
|
||||
|
||||
`rust-analyzer` is available in the GURU repository:
|
||||
|
||||
- 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
|
||||
----
|
||||
`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.
|
||||
|
||||
==== macOS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user