Skip to content
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

Always re-generate proxy wrappers on rustup self update #3100

Open
RalfJung opened this issue Oct 29, 2022 · 1 comment
Open

Always re-generate proxy wrappers on rustup self update #3100

RalfJung opened this issue Oct 29, 2022 · 1 comment

Comments

@RalfJung
Copy link
Member

Problem you are trying to solve

There are some situations where the proxy wrappers rustup generates are being overwritten -- for example, when someone works on Miri and does ./miri install. It'd be nice to have an easy way to ask rustup to re-generate these proxies.

Right now, the best advice we can give is to run rustup update, which of course as a side-effect will also update all the toolchains.

Solution you'd like

Maybe rustup self update could be changed to always re-generate the proxies, even when there is no new rustup available.

Notes

Cc rust-lang/miri#2633

@ches
Copy link

ches commented Mar 6, 2023

self update is often disabled for system package manager installations of rustup, so that's another situation where it being the vehicle for proxy reinstatement creates a conundrum.

Perhaps there could be a dedicated command like rustup self repair.

Refs #1305

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants