GNU bug report logs -
#62818
rust-analyzer broken after rustc got bumped
Previous Next
Full log
View this message in rfc822 format
The Guix version of rust-analyzer that is in rust-apps.scm is somehow
dependent on rustc 1.60.0 and seems to use it internally to do
compilation and checks.
Guix recently published rustc v1.65.0 to the repo and after pulling that
in, many compilations fail with some very strange error message "this
crate is not compiled for the right Rust version, please recompile with
version 1.60".
One possible workaround would probably be to instruct rust-analyzer to
use a different directory to store its artefacts, but that would mean
building everything twice and keeping two sets of build artifacts which
can become quite sizable.
It seems that either rust-analyzer should be make
rustc-version-independent, no idea how that would work, or rust-analyzer
should be updated alongside rustc whenever possible.
This bug report was last modified 2 years and 65 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.