Required compiler facts for the fixed interpreter. Query evidence is keyed by exact compilation-local TyId and explicit fully_monomorphized typing_env. Sources: rustc_middle ty/{util,sty,inhabitedness}; interpret/{call,visitor,validity} and Miri helpers.rs UnsafeCellVisitor/tree_borrows/mod.rs NewPermission. No diagnostic type spelling establishes a semantic property.
Equations
Instances For
- value : Result (ABI.TyAndLayout TypeId)
Instances For
Equations
- Miri.Input.CompilerFacts.bindUnitLayout runtime = { value := Miri.Input.CompilerFacts.computeUnitLayout✝ runtime, exact := ⋯ }
Instances For
- runtime : RuntimeMetadata.Indexed
- primitiveQueries : Option (CompilerPrimitiveFacts.Bound self.runtime.toRuntimeMetadata)
Exact direct primitive query results for the metadata owned by this context. Manual contexts may omit the cache.
- unitLayoutCache : Option (UnitLayoutCache self.runtime)
The first-match unit query result is stored as data, including failure, and bound to this exact indexed metadata value.
- program : LoweredProgram
- lowering : Option (LowerContext.Bound self.program.input)
Context caches are certified for this exact source document. Manual contexts may omit it and retain the uncached accessor fallback.
Instances For
Equations
- context.loweringContext = match context.lowering with | some prepared => prepared.value | none => Miri.Input.LowerContext.ofDocument context.program.input
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Rebind every document-dependent cache when the owning lowered program changes.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Miri.Input.CompilerFacts.layoutOf context id = Except.mapError toString (context.runtime.lookup id)
Instances For
Equations
- Miri.Input.CompilerFacts.unitLayout context = match context.unitLayoutCache with | some cached => cached.value | none => Miri.Input.CompilerFacts.computeUnitLayout✝ context.runtime
Instances For
Equations
- Miri.Input.CompilerFacts.builtinDeref context id explicit = Miri.Input.CompilerFacts.optionalType context id (if explicit = true then "builtin_deref_explicit" else "builtin_deref_implicit")
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Miri.Input.CompilerFacts.itemName context id = do let __do_lift ← Miri.Input.CompilerFacts.adtPayload✝ context id Miri.Input.CompilerFacts.string✝ __do_lift "item_name"
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Replace only compiler leaves; all actual memory/projection/dyn operations retain their source implementation and stateful failure behavior.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.