1
Fork 0

resolve: Scale back unloading of speculatively loaded crates

This commit is contained in:
Vadim Petrochenkov 2024-02-14 21:40:45 +03:00
parent 8b21296b5d
commit 24cffbf703
7 changed files with 26 additions and 18 deletions

View file

@ -1651,7 +1651,6 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> {
self.tcx
.sess
.time("resolve_postprocess", || self.crate_loader(|c| c.postprocess(krate)));
self.crate_loader(|c| c.unload_unused_crates());
});
// Make sure we don't mutate the cstore from here on.