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 156fc07 commit 03ebfb9Copy full SHA for 03ebfb9
src/cargo_ops/temp_project.rs
@@ -395,7 +395,7 @@ impl<'tmp> TempProject<'tmp> {
395
let _lock = ws_context.acquire_package_cache_lock(CacheLockMode::DownloadExclusive)?;
396
let source_config = SourceConfigMap::new(ws_context)?;
397
let mut source = source_config.load(source_id, &HashSet::new())?;
398
- if !source_id.is_crates_io() {
+ if !source_id.is_crates_io() && !source_id.is_sparse() {
399
source.invalidate_cache();
400
}
401
source.block_until_ready()?;
0 commit comments