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

Don't preserve linked toolchains. #125

Merged
merged 1 commit into from
Jan 5, 2021

Conversation

ehuss
Copy link
Collaborator

@ehuss ehuss commented Dec 31, 2020

#55 added an optimization to use rustup toolchain link, however this causes a problem with the --preserve flag. After the nightly toolchain gets updated, the existing symlinks will be pointing to the wrong version. This changes it so that the toolchain link is removed even if --preserve is used.

@spastorino spastorino merged commit 731cdb5 into rust-lang:master Jan 5, 2021
@ehuss ehuss mentioned this pull request Oct 8, 2021
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