Skip to content

self update after updating a specific toolchain #1605

Merged
nrc merged 4 commits intorust-lang:masterfrom
nrc:self-update
Jan 11, 2019
Merged

self update after updating a specific toolchain #1605
nrc merged 4 commits intorust-lang:masterfrom
nrc:self-update

Conversation

@nrc
Copy link
Copy Markdown
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
Copy Markdown
Member

r=me with green CI

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@djc djc mentioned this pull request Jul 9, 2025
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