cargo waits on package cache lock when my crate has 0 dependencies #11924
Labels
A-caching
Area: caching of dependencies, repositories, and build artifacts
C-bug
Category: bug
P-low
Priority: Low
Performance
Gotta go fast!
S-needs-design
Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Problem
It seems that cargo is waiting for the lock on the package cache during
cargo check
, even if I have 0 dependencies stated in myCargo.toml
and we could theoretically build right away.Steps
cargo update
on a large repo (i.e. servo)cargo check
inmyproj
=>
Blocking waiting for file lock on package cache
althoughmyproj
has 0 dependencies.Possible Solution(s)
Skip looking into the cache entirely if we don't have any dependencies specified in Cargo.toml?
Notes
No response
Version
The text was updated successfully, but these errors were encountered: