The rust-analyzer component installs its link into /usr/lib/rustup/bin instead of /usr/bin
Description:
rustup
on Arch installs toolchains in /usr, with links to all binaries in /usr/bin. When you install a toolchain with rustup default stable
, you end up with the expected binaries under /usr/bin.
If I however add a few components, for example with rustup component add rustfmt rust-analyzer rust-src
, I noticed that unlike all other utilities, the rust-analyzer
command link is installed under /usr/lib/rustup/bin
instead of /usr/bin
.
Additional info:
- package version(s): 1.27.0-1
- config and/or log files: n/a
- link to upstream bug report, if any: n/a
Steps to reproduce:
- pacman -S rustup
- rustup default stable
- rustup component add rustfmt rust-analyzer rust-sr
- ls -l /usr/bin/rust* /usr/lib/rustup/bin