Source-owned process entry construction. This module is kept separate from EvalStartupAssembly because the source Core imports the Unix foreign chain that itself depends on the legacy assembly module.
Evidence that every choice requested by the run loop is the same choice used to assemble its initial source package. This is an opt-in optimization: generic runners without this evidence continue to construct per-choice source packages.
Instances For
Instances For
Equations
- Miri.Input.EvalSourceRunConstruction.State Os R P H D O Aff B Host = Miri.Input.EvalRuntimeConstruction.EntryState Os R P H D O Aff B Host
Instances For
Equations
- Miri.Input.EvalSourceRunConstruction.SourceHost Poll Instant System H D O Native Profiler = Miri.Input.HostRuntime.Storage Poll Instant System H D O Native Profiler
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Create the canonical initial EvalWorld for the source runner from the selected initialization configuration, imported memory, runtime type arrays, choice tape and actual host storage. The caller supplies the exact source configuration; this constructor applies it once, rather than requiring an arbitrary preassembled machine State.
Equations
- Miri.Input.EvalSourceRunConstruction.initialStateFromSourceConfiguration configuration memory types choices host = Miri.Input.InitialMachine.create configuration memory types choices host
Instances For
Compute argv hooks from the same fixed source execution config that will run Main and the MIR body. Compiler facts remain demand-local errors.
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.EvalSourceRunConstruction.sourceDurationSinceToOuter operation later earlier = Miri.Interpreter.ExecutionStateTransport.action (operation later earlier)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Construct Main/TLS from the exact source Core and compiler target facts. Extern-static lookup is closed over the same function registry and runtime root used by that Core; no complete Main hook record is accepted.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Assemble the exact late-init hooks from already source-constructed argv and Main components plus canonical environment/static/vtable adapters. The argv capability is unlifted only at this typed boundary; no hooks dictionary is accepted as a whole.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Canonical Unix bootstrap. Dynamic symbols use the source Other dynamic
symbol constructor, and the scalar layouts come from the same compiler runtime
facts as the execution Core. No caller-provided encoding or target-sized
layout can diverge from the selected export.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Continue from the exact machine state produced by the source constructor. No host, descriptor or ownership store is rebuilt here.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Compatibility entry with the original positional API. Runtime profiling is
opt-in through runFromInitialProfiled; ordinary callers retain this exact
signature and delegate with profiler options disabled.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Explicit lower entry for callers that already own a HostRuntime payload. This keeps that contract available for existing embeddings while the normal production entry below performs the pinned machine construction itself.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Canonical normal process entry. Raw host lifecycle hooks and their exact external state are threaded through MachineConstruction.create. The returned guest state is the same state whose descriptor/ownership tables were created there; startup and execution continue without reinitializing either table. The result retains HostRuntime storage, including for resumable Pending states. It does not implicitly dispose host resources after a terminal guest outcome; embeddings may explicitly call HostRuntime.dispose once the retained state is no longer needed. Constructor rollback still uses MachineConstruction's protect path.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Compatibility entry with the original positional API. Profiling callers
use runFromSourceProfiled; ordinary callers delegate with profiling disabled.
Equations
- One or more equations did not get rendered due to their size.