-
Notifications
You must be signed in to change notification settings - Fork 90
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
Git dependencies don't work due to global lock #166
Comments
@alexcrichton, in what cases does Cargo need write access to |
Oh this might be a bug in Cargo, I think we specifically fixed this for the registries where if we fail to acquire a write lock we fall back to a read lock, maybe the same fix just needs to be for git? |
In theory though if everything is checked out Cargo doesn't actually need write access. |
@alexcrichton Do you remember what was in the commit message for that change? I searched for "lock" in Cargo’s |
I believe I was thinking of rust-lang/cargo#3259, although it's not quite the same solution. I suspect a solution would be along the lines though of "handle the error" rather than "unconditionally propagate it outwards" |
/cargo-home/git/.cargo-lock-git
is on a read only mountpoint, but I guess it gets locked even in frozen mode to stop it changing from under the feet of cargo.The text was updated successfully, but these errors were encountered: