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

Add the "no-self-update" feature #602

Merged
merged 1 commit into from
Jul 21, 2016
Merged

Conversation

inejge
Copy link
Contributor

@inejge inejge commented Jul 20, 2016

Cf. #597. In addition to blocking self update, this patch also blocks self uninstall, with the same rationale.

Intended for distro-packaged builds of rustup. The feature disables
"self update" and "self uninstall" commands, erroring out if any of
them is invoked explicitly, and silently skipping self-update for
"update" even if "--no-self-update" is not specified.
@inejge
Copy link
Contributor Author

inejge commented Jul 21, 2016

Timeout in one Windows build (it hung at the start.)

@brson
Copy link
Contributor

brson commented Jul 21, 2016

Wow, you are on a roll! Thank you.

@brson brson merged commit fd3e9f1 into rust-lang:master Jul 21, 2016
@inejge inejge deleted the no-self-update branch July 31, 2016 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants