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 after updating a specific toolchain #1605

Merged
merged 4 commits into from
Jan 11, 2019
Merged

Conversation

nrc
Copy link
Member

@nrc nrc commented Jan 9, 2019

r? @alexcrichton

This will make sure people who do rustup update stable still get a new rustup

@alexcrichton
Copy link
Member

r=me with green CI

Copy link
Contributor

@kinnison kinnison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty OK with this in general, though the amount of tests needing --no-self-update I wonder if it might be better to also have a RUSTUP_SUPPRESS_SELF_UPDATE type environment variable which we could set by default in most of the expect_ok() calls.

Nothing blocking a merge IMO though.

)
.arg(
Arg::with_name("no-self-update")
.help("Don't perform self update when running the `rustup` command")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be:

.help("Don't perform self update when running the `rustup install` command")

perhaps?

)
.arg(
Arg::with_name("no-self-update")
.help("Don't perform self update when running the `rustup` command")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto here but with

.help("Don't perform self update when running the `rustup toolchain install` command")

perhaps?

@nrc nrc merged commit b47800c into rust-lang:master Jan 11, 2019
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.

3 participants