unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#62818: rust-analyzer broken after rustc got bumped
@ 2023-04-13 18:35 Steven Roose
  0 siblings, 0 replies; only message in thread
From: Steven Roose @ 2023-04-13 18:35 UTC (permalink / raw)
  To: 62818

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.





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-13 18:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-13 18:35 bug#62818: rust-analyzer broken after rustc got bumped Steven Roose

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).