FS#78309 - [rustup] bundled rust-analyzer is outdated

Attached to Project: Community Packages
Opened by - (solnce) - Wednesday, 26 April 2023, 15:13 GMT
Last edited by Orhun Parmaksız (orhun) - Thursday, 04 May 2023, 00:27 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Orhun Parmaksız (orhun)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Yesterday `rustup` was bumped to `1.26.0-1`. Apparently it was decided to let `rustup` provide `rust-analyzer` by installing a symlink from `/usr/bin/rust-analyzer` to `/usr/bin/rustup`. This means that users must download the `rust-analyzer` version for every toolchain.

For the stable channel of rust, a new release happens every 6 weeks, but a new release of `rust-analyzer` happens every week. When downloading `rust-analyzer` via `rustup component add rust-analyzer`, the user is provided with the version of RA that was current at the time the stable toolchain was released, which can be 5 weeks outdated. This is an actual setback when it comes to fast-paced ecosystems like Rust.

I would kindly request that the symlinks are removed again.

I am unaware of possible workarounds that fit well in the Arch and Rust ecosystem.

https://github.com/archlinux/svntogit-community/commit/6ced509c634125782ea5a74494b51c7a7b71c5bb

Additional info:
* rustup 1.26.0-1


This task depends upon

Closed by  Orhun Parmaksız (orhun)
Thursday, 04 May 2023, 00:27 GMT
Reason for closing:  Fixed
Additional comments about closing:  symlinks are moved to another location and rust-analyzer has been removed from conflicts lists in 1.26.0-2

if you have rust-analyzer and rustup installed then the rust-analyzer takes precedence now
Comment by Toolybird (Toolybird) - Wednesday, 26 April 2023, 21:32 GMT
It was implemented because of  FS#76050 .

Loading...