resolve: Scale back unloading of speculatively loaded crates
This commit is contained in:
parent
8b21296b5d
commit
24cffbf703
7 changed files with 26 additions and 18 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue