mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 06:03:58 +00:00
Remove outdated rustup installation issue description
This commit is contained in:
parent
9e6ae6bac7
commit
def3b5d7dd
1 changed files with 0 additions and 13 deletions
|
@ -181,19 +181,6 @@ On Unix, running the editor from a shell or changing the `.desktop` file to set
|
||||||
$ rustup component add rust-analyzer
|
$ rustup component add rust-analyzer
|
||||||
----
|
----
|
||||||
|
|
||||||
However, in contrast to `component add clippy` or `component add rustfmt`, this does not actually place a `rust-analyzer` binary in `~/.cargo/bin`, see https://github.com/rust-lang/rustup/issues/2411[this issue]. You can find the path to the binary using:
|
|
||||||
[source,bash]
|
|
||||||
----
|
|
||||||
$ rustup which --toolchain stable rust-analyzer
|
|
||||||
----
|
|
||||||
You can link to there from `~/.cargo/bin` or configure your editor to use the full path.
|
|
||||||
|
|
||||||
Alternatively you might be able to configure your editor to start `rust-analyzer` using the command:
|
|
||||||
[source,bash]
|
|
||||||
----
|
|
||||||
$ rustup run stable rust-analyzer
|
|
||||||
----
|
|
||||||
|
|
||||||
==== Arch Linux
|
==== Arch Linux
|
||||||
|
|
||||||
The `rust-analyzer` binary can be installed from the repos or AUR (Arch User Repository):
|
The `rust-analyzer` binary can be installed from the repos or AUR (Arch User Repository):
|
||||||
|
|
Loading…
Reference in a new issue