Concurrent rustup toolchain add
overwrite each others downloads
#3690
Labels
rustup toolchain add
overwrite each others downloads
#3690
Problem
Running multiple instances of
rustup toolchain add X
causes redundant downloads and installation errors.This problem can happen when tests or CI tooling run concurrently tries to automatically install required versions of Rust.
Steps
Possible Solution(s)
There should be some global locking mechanism, or downloads/installs should at least use randomized temporary file names.
Notes
No response
Rustup version
rustup 1.27.0 (c7b305727 2024-02-14)
Installed toolchains
not relevant
The text was updated successfully, but these errors were encountered: