-
Notifications
You must be signed in to change notification settings - Fork 926
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
Make downgrading via the archives work #1158
Comments
@brson The URL get an 404 error. Is this still valid? |
@pickfire It's still valid. Hard to recall details, but that URL in the op is a directory, so the tooling probably appends additional paths to the URLs it calls. Here's the current output of the command in the op (though I've changed the URL to "static.rust-lang.org" instead of "dev-static", because I've forgotten what the difference is.
That's with rustup only knows how to update to what's in An easy hack to fix this is to add a fallback search after |
I'd suggest simply adding an argument to |
If this is still desirable in some form, please ping me, otherwise I've marked this inactive and will close at some point in the near future. |
If all goes well, this will be a part of the v1.28.2 release. |
I expect this to work:
but it does not:
I suspect it used to but broke once the 'release-stable.toml' file was added.
Probably just use another environment variable like
RUSTUP_UPDATE_VERSION
, which circumvents the 'release-stable.toml' file and appends the appropriate archive path to the update root.This could be useful in the case of deploying a bad rustup (where the updater still works).
The text was updated successfully, but these errors were encountered: