Skip to content

Commit 714c06d

Browse files
committed
cache me on disk
1 parent eb900dd commit 714c06d

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_middle/src/query

1 file changed

+1
-0
lines changed

compiler/rustc_middle/src/query/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ rustc_queries! {
327327

328328
query is_trivial_mir(key: DefId) -> bool {
329329
desc { |tcx| "checking if MIR for `{}` is trivial", tcx.def_path_str(key) }
330+
cache_on_disk_if { key.is_local() }
330331
}
331332

332333
/// MIR after our optimization passes have run. This is MIR that is ready

0 commit comments

Comments
 (0)