all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steven Roose <steven@roose.io>
To: 62818@debbugs.gnu.org
Subject: bug#62818: rust-analyzer broken after rustc got bumped
Date: Thu, 13 Apr 2023 19:35:20 +0100	[thread overview]
Message-ID: <e0331d49-bbeb-ebdf-dec8-dffbfec3c002@roose.io> (raw)

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.





                 reply	other threads:[~2023-04-13 18:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e0331d49-bbeb-ebdf-dec8-dffbfec3c002@roose.io \
    --to=steven@roose.io \
    --cc=62818@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.