only cache codegen_fn_attrs
on disk if its local
This commit is contained in:
parent
501067cb05
commit
66ff6c32e5
2 changed files with 2 additions and 1 deletions
|
@ -1080,7 +1080,7 @@ rustc_queries! {
|
|||
query codegen_fn_attrs(def_id: DefId) -> CodegenFnAttrs {
|
||||
desc { |tcx| "computing codegen attributes of `{}`", tcx.def_path_str(def_id) }
|
||||
storage(ArenaCacheSelector<'tcx>)
|
||||
cache_on_disk_if { true }
|
||||
cache_on_disk_if { def_id.is_local() }
|
||||
separate_provide_extern
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue