mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
manual.adoc: add Gentoo Linux installation method
Added installation instructions for the binary ebuild of the "latest" `rust-analyzer` in Gentoo's GURU repository.
This commit is contained in:
parent
092396c65a
commit
508d1230d8
1 changed files with 14 additions and 0 deletions
|
@ -187,6 +187,20 @@ Install it with pacman, for example:
|
||||||
$ pacman -S rust-analyzer
|
$ 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-bin/rust-analyzer-bin-9999.ebuild[`dev-util/rust-analyzer-bin-9999`] (the https://github.com/rust-analyzer/rust-analyzer/releases/latest[latest release] as a live binary ebuild)
|
||||||
|
|
||||||
|
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
|
||||||
|
----
|
||||||
|
|
||||||
=== Emacs
|
=== Emacs
|
||||||
|
|
||||||
Note this excellent https://robert.kra.hn/posts/2021-02-07_rust-with-emacs/[guide] from https://github.com/rksm[@rksm].
|
Note this excellent https://robert.kra.hn/posts/2021-02-07_rust-with-emacs/[guide] from https://github.com/rksm[@rksm].
|
||||||
|
|
Loading…
Reference in a new issue