-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add --keep-going to the check command #17561
Conversation
The check isn't require as we don't support toolchains that old anyways (it is impossible to reliably support a big range of rust versions) |
☀️ Test successful - checks-actions |
Yeah, we can probably drop it, it's been a while. |
Remove version check before using `--keep-going` See #17561 (comment) by `@lnicola`
Remove version check before using `--keep-going` See rust-lang/rust-analyzer#17561 (comment) by `@lnicola`
This has caused a problem with a couple of my projects that are pinned to 1.72 of Rust. Is there a way we can make this conditional e.g. don't include the Please see #17662. I also understand that there's no strict backward-compability statement for RA, but Zed and VSC don't appear to honour rust-toolchain rust-analyzer components, so we're a bit stuck. Also see zed-industries/zed#4883 (comment) |
I ran into the same issue with being pinned to an older rust version. For VSCode at least, I've found that using rust-analyzer's config to use the stable toolchain instead seems to work fine, presuming that for analysis purposes, the stable toolchain is fine. |
That is a good point to raise, we should be able to support the toolchain component in an overwrite if its installed imo. Though that is the job of the client as that is the entity responsible for spawning the process. We can do this in VSCode but Zed would need to do that themselves. |
I'll try to look into the VSCode thing here #17663, zed can then probably try to do something similar |
Fixes rust-lang/rustlings#1628
@Veykril I am not sure about what you meant with "unconditionally" in rust-lang/rustlings#1628 (comment), but I didn't find out how to get the version of the toolchain anyway to do a check like in this snippet. Is this check even required if rust-analyzer was installed with the toolchain?
--keep-going
was stabilized in 1.74