languages: Use rustup rust-analyzer when toolchain override is present#57696
Merged
Conversation
3b7d9bd to
3d6a3ef
Compare
osiewicz
reviewed
May 26, 2026
osiewicz
reviewed
May 26, 2026
osiewicz
reviewed
May 26, 2026
4291abe to
a61b5ff
Compare
osiewicz
previously approved these changes
May 26, 2026
a61b5ff to
e09bf09
Compare
c83f6d5 to
ad22e44
Compare
auto-merge was automatically disabled
May 26, 2026 11:09
Pull request was closed
5f7db60 to
061d8fc
Compare
061d8fc to
146cf17
Compare
146cf17 to
aee1433
Compare
Collaborator
|
@zed-zippy approve |
TomPlanche
pushed a commit
to TomPlanche/zed
that referenced
this pull request
Jun 2, 2026
zed-industries#57696) rust-analyzer does not really attempt to be backwards compatible, so when users opt-into the component a toolchain override, we should prefer that over any other rust-analyzer (especially our own) for better toolchain compatibility in case people have a more out of date install. This mirrors the VSCode extension behavior Release Notes: - When a worktree contains a Rust toolchain file with a rust analyzer component specified, Zed will now spawn the given toolchain's rust-analyzer for toolchain compatability
This was referenced Jun 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
rust-analyzer does not really attempt to be backwards compatible, so when users opt-into the component a toolchain override, we should prefer that over any other rust-analyzer (especially our own) for better toolchain compatibility in case people have a more out of date install. This mirrors the VSCode extension behavior
Release Notes: