eval.rs::call_main entry signature and lang_start queries. Original bound variables, return type and Ty::new_fn_ptr identity are retained. Resolution is keyed by the exact start DefId and complete source generic argument vector. Link-section static reading remains a separate stateful global-memory query.
- definition : MIR.DefId
- parameters : Array Interpreter.MainGenericParameter
- signature : Except String Interpreter.MainSignature
- start : Except String (Option Interpreter.CallInstance)
Instances For
- definition : MIR.DefId
- span : MIR.SpanRef
- ty : MIR.TyId
- allocation : AllocationId
Instances For
- program : LoweredProgram
- runtime : RuntimeMetadata
Exact rustc EntryFnType attached to tcx.entry_fn. When absent, the compiler did not select a Rust main and the source may use Miri's separately selected miri_start entry.
- sections : Except String (Array SectionQuery)
Instances For
def
Miri.Input.CompilerMain.prepare
(runtime : RuntimeMetadata)
(program : LoweredProgram)
(sourceEquality : Option (RuntimeMetadata.JsonReflexivity runtime.source.raw) := none)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Input.CompilerMain.resolve
(p : Prepared)
(definition : MIR.DefId)
(args : Array MIR.GenericArg)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Exact compiler-selected ordinary entry metadata for the source startup
factory. none is retained for the separate MiriStart entry path.
Instances For
def
Miri.Input.CompilerMain.hooks
{U C O F A Aff P : Type}
(p : Prepared)
(base : Interpreter.MainMachine.Hooks U C O ABI.ExternAbi F A Aff P)
:
Interpreter.MainMachine.Hooks U C O ABI.ExternAbi F A Aff P
Equations
- One or more equations did not get rendered due to their size.