Skip to content

Create toolchain directory atomically#121

Merged
Kha merged 2 commits intomasterfrom
atomic-unpack
Feb 19, 2024
Merged

Create toolchain directory atomically#121
Kha merged 2 commits intomasterfrom
atomic-unpack

Conversation

@Kha
Copy link
Copy Markdown
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
@Kha Kha deleted the atomic-unpack branch February 19, 2024 08:56
@nomeata
Copy link
Copy Markdown

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