Store static initializers in metadata instead of the MIR of statics.
This commit is contained in:
parent
95004e5ae2
commit
be6ccf13e3
6 changed files with 23 additions and 7 deletions
|
@ -1079,6 +1079,7 @@ rustc_queries! {
|
|||
tcx.def_path_str(key)
|
||||
}
|
||||
cache_on_disk_if { key.is_local() }
|
||||
separate_provide_extern
|
||||
}
|
||||
|
||||
/// Evaluates const items or anonymous constants
|
||||
|
|
|
@ -63,6 +63,7 @@ trivially_parameterized_over_tcx! {
|
|||
crate::middle::lib_features::FeatureStability,
|
||||
crate::middle::resolve_bound_vars::ObjectLifetimeDefault,
|
||||
crate::mir::ConstQualifs,
|
||||
crate::mir::interpret::AllocId,
|
||||
ty::AssocItemContainer,
|
||||
ty::Asyncness,
|
||||
ty::DeducedParamAttrs,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue