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

Create toolchain directory atomically #121

Merged
merged 2 commits into from
Feb 19, 2024
Merged

Create toolchain directory atomically #121

merged 2 commits into from
Feb 19, 2024

Conversation

Kha
Copy link
Member

@Kha Kha commented Feb 7, 2024

$ elan toolchain install stable
info: syncing channel updates for 'stable'
info: latest update on stable, lean version v4.5.0
info: downloading component 'lean'
150.1 MiB / 150.1 MiB (100 %)  68.2 MiB/s ETA:   0 s
info: installing component 'lean'
^C
$ ls -R ~/.elan/toolchains/stable.tmp | wc -l
1444
$ elan toolchain install stable
info: syncing channel updates for 'stable'
info: latest update on stable, lean version v4.5.0
info: downloading component 'lean'
150.1 MiB / 150.1 MiB (100 %)  69.2 MiB/s ETA:   0 s
info: installing component 'lean'

  stable installed

$ ls -R ~/.elan/toolchains/stable | wc -l
2859

@Kha Kha merged commit bd54aca into master Feb 19, 2024
10 checks passed
@Kha Kha deleted the atomic-unpack branch February 19, 2024 08:56
@nomeata
Copy link

nomeata commented Mar 9, 2024

I was wondering why we need this when elan is just a copy of rustup, and I was optimistically assuming that rustup gets this right, but it seems it doesn’t: rust-lang/rustup#988

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