Auto merge of #115740 - tmiasko:cache-reachable-set, r=cjgillot

Cache reachable_set on disk
This commit is contained in:
bors 2023-09-16 09:07:38 +00:00
commit fd70f7eea2

View File

@ -1140,6 +1140,7 @@ rustc_queries! {
query reachable_set(_: ()) -> &'tcx LocalDefIdSet { query reachable_set(_: ()) -> &'tcx LocalDefIdSet {
arena_cache arena_cache
desc { "reachability" } desc { "reachability" }
cache_on_disk_if { true }
} }
/// Per-body `region::ScopeTree`. The `DefId` should be the owner `DefId` for the body; /// Per-body `region::ScopeTree`. The `DefId` should be the owner `DefId` for the body;