experiment query caching

This commit is contained in:
Jana Dönszelmann 2025-11-03 16:06:58 +01:00
parent 3cf74cb2a4
commit f4fd8a0633
No known key found for this signature in database

View file

@ -2759,9 +2759,10 @@ rustc_queries! {
}
/// Returns a list of all `externally implementable items` crate.
query externally_implementable_items(_: CrateNum) -> &'tcx FxIndexMap<DefId, (EiiDecl, FxIndexMap<DefId, EiiImpl>)> {
query externally_implementable_items(cnum: CrateNum) -> &'tcx FxIndexMap<DefId, (EiiDecl, FxIndexMap<DefId, EiiImpl>)> {
arena_cache
desc { "looking up the externally implementable items of a crate" }
cache_on_disk_if { *cnum == LOCAL_CRATE }
separate_provide_extern
}
}