-
Notifications
You must be signed in to change notification settings - Fork 1.7k
internal: remove support for pre-1.47 sysroots #10457
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
Conversation
Unfortunately, c2rust is still using nightly-2019-12-05 ( |
Sorry for that. Do you think there are any chances for |
Hello. I want to use I tried manually setting |
@TonalidadeHidrica I'm already sure you know all these options, but I'll list them anyway:
I'm not against reverting (I'm actually tempted to), but we can't realistically support toolchains for such a long time. The official policy is to only support the latest version, although in practice older ones work too. I wouldn't be surprised if other functionality (besides proc macros) was already broken in 1.42. It also depends on whether you're using Rust for anything else. If you are, you should probably be using |
@lnicola Thanks for all your kind, detailed advice. I'm aware that we cannot essentially support all the old versions forever. Also it's a good idea to use |
@TonalidadeHidrica This hacky "fix" might help you: |
New rust-analyzer does not support 1.47 older versions. See [pull-request](rust-lang/rust-analyzer#10457).
G'Day! I had already figured out the solution @ariva suggested, which works. Does rolling back this change have any determent other than allowing support for pre-1.47 sysroots? |
@grantperry officially we only support the latest stable version. The idea is that we don't want to keep piling hacks in RA to keep it working with toolchains that even the Rust project doesn't have resources to support (with 30x or so more active developers), and 1.42 is almost two years old at this point. I wouldn't want to signal "yes, we'll support We already break this stance for proc macros. We have four implementations: 1.47 (or earlier?), 1.54, 1.56 and 1.58. Does the 1.47 code work on 1.42? I don't know, but I'm pretty sure we wouldn't want to fix bugs about popular crates like Rocket not working on that version. Also, each of these adds a bit of run-time and about 24 MB RAM to our And it's not just macros. Does type inference work for So reverting this PR wouldn't hurt us, but it would be a precedent for when someone wants to use the latest RA with Rocket on a nightly Rust 1.33, or whatever. |
@lnicola I do see the precedent this would set now, and I agree that it would be unreasonable to uphold. Thanks for your support! |
This changed in 1.47 (about a year ago), so it should be pretty safe to remove.
bors r+