FS#79373 - [rustup] missing rust-analyzer wrapper
Attached to Project:
Arch Linux
Opened by Aria (tcmal) - Monday, 14 August 2023, 13:48 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 15 August 2023, 20:32 GMT
Opened by Aria (tcmal) - Monday, 14 August 2023, 13:48 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 15 August 2023, 20:32 GMT
|
Details
When using the rustup package, the `rust-analyzer`
wrapper/symlink is not created, meaning that installing
rust-analyzer through rustup (`rustup component add
rust-analyzer`) will not allow it to be run normally.
This can be worked around by running 'sudo ln -s `which rustup` /usr/bin/rust-analyzer'. Additional info: * `extra/rustup 1.26.0-3` Steps to reproduce: * `rustup component add rust-analyzer` * `rust-analyzer` -> command not found |
This task depends upon
Closed by Toolybird (Toolybird)
Tuesday, 15 August 2023, 20:32 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#78382
Tuesday, 15 August 2023, 20:32 GMT
Reason for closing: Duplicate
Additional comments about closing:
[1] https://gitlab.archlinux.org/archlinux/packaging/packages/rustup/-/commit/a2725a1443a33f563ef53f251ab6197a0daa2643
This article outlines further: https://fasterthanli.me/articles/proc-macro-support-in-rust-analyzer-for-nightly-rustc-versions
[1] https://wiki.archlinux.org/title/Rust#rust-analyzer
FS#78382. Try logging out and back in.