Closed
Description
Cargo does a number of unsynchronized and racy operations that lead to lots of badness if they happen concurrently. This includes, but is not limited to, management of target/
, checkouts into ~/.cargo/git/
, and anything having to do with concurrent compilations.
The only real reasonable solution I can think of to this is the same as the "big hammer" solution which is to just "add a lock to everything". Ideally we would separately lock ~/.cargo
and the local directory, but they should both in general be locked when performing any action.