Expand description
Versioned executor-neutral ABI shared by native code generators and runtime hosts.
The ABI deliberately carries opaque value/root tokens rather than Rust Value
layouts. This keeps numeric storage private and lets the final integer seal evolve
without creating a second value system. Pointers are borrowed for one host call;
ownership always remains with the documented host-side arena or root table.
Structs§
- Native
AbiError - Native
AbiLayout - Complete target layout used by native-code cache keys and compatibility checks. Portable executable identity uses the contract fingerprint above; native objects additionally bind this target-specific fingerprint.
- Native
AbiVersion - Native
Call - One borrowed call transaction. Results are committed only when the returned
NativeExitisCompleted; all other exits leave host-visible outputs unset. - Native
Call Kind - Native
Cancellation - Native
Cancellation Reason - Native
Deopt Reason - Native
Deoptimization - Native
Exception - Opaque exception identity plus precise throw location.
- Native
Exit - Result of a native call. Only the payload selected by
kindis meaningful. - Native
Exit Kind - Native
Frame - Runtime-owned frame visible to generated code and host helpers.
- Native
Frame Kind - Native
Host Status - Native
HostV Table - Runtime helper table supplied to generated code.
- Native
Resume Kind - Native
Resume State - Exact interpreter-materializable state at a native program point.
- Native
Root - One precise GC root visible at a native safepoint.
- Native
Root Kind - Native
Root Set - Borrowed root slice. The host owns the backing allocation.
- Native
Safepoint - State exposed at every allocation, cancellation, transfer, or deopt poll.
- Native
Site Outcome - Host decision for one Native IR site.
- Native
Site Outcome Kind - Native
Site Phase - Native
Site Request - Stable, path-independent identity of one executable Native IR site.
- Native
Source Location - Stable source location. It contains no host path or Rust string layout.
- Native
Source MapEntry - Path-independent source-map projection for diagnostics and stack traces.
- Native
Source MapView - Native
Suspension - Native
Type Layout - Native
Utf8 - Borrowed UTF-8 bytes owned by the executable product.
- Native
Value Ref - Opaque, generation-checked reference to a runtime-owned RunMat value.
Constants§
Functions§
- native_
abi_ contract_ fingerprint - Target-independent identity used by executable/runtime compatibility keys.
- native_
abi_ layout - native_
abi_ layout_ fingerprint
Type Aliases§
- Native
Entry Point - Uniform generated-function entrypoint.
- Native
Execute Site Fn - Execute exactly one immutable Native IR site.
- Native
Release Value Fn - Native
Retain Value Fn - Native
Safepoint Fn - Native
Source Lookup Fn