We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b09d3de commit b2fbd65Copy full SHA for b2fbd65
src/cargo/ops/vendor.rs
@@ -39,7 +39,7 @@ pub fn vendor(ws: &Workspace<'_>, opts: &VendorOptions<'_>) -> CargoResult<()> {
39
extra_workspaces.push(ws);
40
}
41
let workspaces = extra_workspaces.iter().chain(Some(ws)).collect::<Vec<_>>();
42
- let _lock = gctx.acquire_package_cache_lock(CacheLockMode::MutateExclusive)?;
+ let _lock = gctx.acquire_package_cache_lock(CacheLockMode::DownloadExclusive)?;
43
let vendor_config = sync(gctx, &workspaces, opts).context("failed to sync")?;
44
45
if gctx.shell().verbosity() != Verbosity::Quiet {
0 commit comments