Cache adt_def query result on disk
This commit is contained in:
parent
f5f90540c9
commit
70fba90412
2 changed files with 5 additions and 2 deletions
|
@ -522,6 +522,7 @@ rustc_queries! {
|
|||
}
|
||||
query adt_def(key: DefId) -> &'tcx ty::AdtDef {
|
||||
desc { |tcx| "computing ADT definition for `{}`", tcx.def_path_str(key) }
|
||||
cache_on_disk_if { true }
|
||||
separate_provide_extern
|
||||
}
|
||||
query adt_destructor(key: DefId) -> Option<ty::Destructor> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue