mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 01:17:27 +00:00
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.
This commit is contained in:
parent
c84352a346
commit
0d6ec9c987
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue