-
Notifications
You must be signed in to change notification settings - Fork 895
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
Filter whitespace lines from components file. #512
Filter whitespace lines from components file. #512
Conversation
Old versions of multirust may have inserted an extra new-line character into the components file. This makes upgrade robust to files that contain whitespace lines by not attempting to construct components with empty names.
Thanks. Do you know which older versions of multirust did this? I can't think of a scenario where this would arise. |
I downloaded multirust on this machine sometime in November/December 2015, and last updated stable quite a while ago (my best guess is I had 1.6.0, but I didn't check). Solving this didn't actually unblock me, and I ended up completely deleting my .multirust to do a fresh install. I encountered all of these issues:
|
Hm, the rustup installer is supposed to prevent rustup from ever seeing multirust's metadata - during install it should refuse to install when it sees the outdated rustup itself though started using a metadata scheme that was substantially similar to multirust's but not exactly the same. This version was called "2" in both multirust and rustup, and rustup still claims to be able to upgrade from it. I think probably that upgrade routine should no longer support upgrading from version "2". When did you install rustup? |
Here's my shell log up until I got into the state where I was manually hacking the files to try to get it to work.
Perhaps if 'stable' is not installed, it should suggest that if you are upgrading from multirust you should delete |
Thanks so much! I see exactly what's wrong. The instructions for deleting |
@brson That makes sense :-) Closing this since it wasn't enough to solve the problem in the first place. |
Old versions of multirust may have inserted an extra new-line character
into the components file. This makes upgrade robust to files that
contain whitespace lines by not attempting to construct components with
empty names.