Always re-generate proxy wrappers on `rustup self update`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 7k
- Forks
- 1.1k
- Avg merge
- 22h 40m
- Merged PRs (30d)
- 46
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the rustup self update command and trace how proxy wrappers are generated during updates. Confirm the behavior when no new rustup is available, then ensure the command regenerates proxies without updating toolchains; the Miri scenario in the issue provides the motivating case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100