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

"self-update is disabled for this build of rustup" message on every rustup update is annoying #3040

Open
autumnontape opened this issue Jul 14, 2022 · 2 comments · May be fixed by #3051
Open

Comments

@autumnontape
Copy link

Problem you are trying to solve

I run rustup update and other commands to update the software on my PC every day. I know my installation of rustup is managed by my package manager and don't need to be reminded that it can't update itself every time I want to update my Rust installation.

Solution you'd like

A config option to suppress the message would work for me.

Notes

As someone who prefers to use software packaged by my distro, a big reason this is grating to me is because it reminds me of software that intentionally degrades the user experience when packaged by people other than its author.

@kinnison
Copy link
Contributor

This message was added because we'd had several people confused that the instructions to update their copy of rustup simply weren't working, because they didn't know they'd got it from their distro.

I'd be happy to accept a patch permitting the configuration of this message; if you fancy writing it, I can offer mentoring on the #wg-rustup channel on the rust-lang discord; or else here.

@autumnontape
Copy link
Author

An alternative would be to suppress the message when auto-self-update is set to disable, instead of adding a separate option. Including instructions to set that variable with the message itself would also be helpful, at least to someone like me.

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

Successfully merging a pull request may close this issue.

2 participants