-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Tracking issue: edition manifest changes #55967
Comments
So nowadays I'm sort of terrified about doing anything with rustup, so I've attempted to run this through its paces to make sure that if we deploy this change whether it will actually work. Unfortunately it looks like it doesn't work? I played around with our dev artifacts, and I was specifically applying a few changes for an updated manifest:
[rename.rls-preview]
to = 'rls'
# ... same for rustfmt If I installed a previous compiler with rls-preview then updating the compiler to this new manifest simply removed the rls-preview. Additionally I think both of these aspects means there's bugs in rustup's handling of |
I think you would need to have rls rather than rls-preview available to download too (I'd expect an error about this, but perhaps it is swallowed because rustup thinks it is a temporarily missing component?)
I think this was never implemented |
In the new manifests though the |
I'm not exactly sure what this means. What happens is that if you have rls-preview installed, then rustup removes the rls-preview component and adds the rls component. But I think that if the rls component is not available, then it will only be able to remove the rls-preview one without adding the new one. |
@nrc the behavior I was seeing was that the rls component was available and listed in the manifest as available, but rustup didn't install the renamed component it just uninstalled the previous one. I may have tested a wrong manifest though! |
This will be part of our strategy for shipping renamed versions of these components for the Rust 2018 edition. Closes rust-lang#55967
Updated strategy:
Those two will get us over the hump for the edition. The end state is that |
Add temporary renames to manifests for rustfmt/clippy This will be part of our strategy for shipping renamed versions of these components for the Rust 2018 edition. Closes #55967
This will be part of our strategy for shipping renamed versions of these components for the Rust 2018 edition. Closes rust-lang#55967
-preview
cc @alexcrichton
The text was updated successfully, but these errors were encountered: