Source/Packages

Runtime.NativePhysicalNativeELF

packages/execution/src/Runtime/NativePhysicalNativeELF.alpha

622 lines68 declarations26.2 KiBSHA-256 10815f9a5c49

def · lines 601–610

nativePhysicalGenerateResourceELFBytesDirect

Full file
Deployment capacity admission precedes emission. The program remains the only source of state, result-slot and scratch sizes; the caller cannot substitute a smaller declared interpreter allocation.
601def nativePhysicalGenerateResourceELFBytesDirect =
602  (lambda unrestricted resources : (family NativeResourceContext) .
603    (lambda unrestricted program : (family NativePhysicalProgram) .
604      (nat-eliminate
605        (lambda unrestricted valid : Nat . Bytes)
606        b""
607        (lambda unrestricted prior : Nat .
608          (lambda unrestricted ignored : Bytes .
609            (nativePhysicalGenerateNativeELFBytesDirect program)))
610        (nativePhysicalResourcesAdmitted resources program))))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.