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

scripts: Remove explicit rustup self update #445

Merged
merged 1 commit into from
Mar 18, 2024
Merged

Conversation

crawfxrd
Copy link
Member

@crawfxrd crawfxrd commented Mar 5, 2024

Commit 17f8e37 ("Convert toolchain file to TOML syntax") switched from the bare toolchain file to the TOML-based one for better management of the toolchain and components used.

Commit 1cb61e6 ("deps.sh: Update rustup or inform user of env vars") added an explicit rustup self update because there were still cases, a year later, of people not having a rustup new enough to support the TOML-based toolchain file.

Now 2 years after that, it should be safe to drop the explicit self update. The TOML format has widespread adoption and rustup now self updates by default. This should allow distro-provided rustup, which disables the self update feature, to work if it is already installed in place of the one downloaded from https://rustup.rs.

Commit 17f8e37 ("Convert toolchain file to TOML syntax") switched
from the bare toolchain file to the TOML-based one for better management
of the toolchain and components used.

Commit 1cb61e6 ("deps.sh: Update rustup or inform user of env
vars") added an explicit `rustup self update` because there were still
cases, a year later, of people not having a rustup new enough to support
the TOML-based toolchain file.

Now 2 years after that, it should be safe to drop the explicit self
update. The TOML format has widespread adoption and rustup now self
updates by default. This should allow distro-provided rustup, which
disables the self update feature, to work if it is already installed in
place of the one downloaded from https://rustup.rs.

Signed-off-by: Tim Crawford <[email protected]>
@crawfxrd crawfxrd requested review from a team March 5, 2024 16:51
@jackpot51 jackpot51 merged commit d60a8e4 into master Mar 18, 2024
42 checks passed
@jackpot51 jackpot51 deleted the rustup-self-update branch March 18, 2024 20:20
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