Skip to main content

Crate sim_platform_bootstrap

Crate sim_platform_bootstrap 

Source
Expand description

The sole, bounded host rind used to admit the first platform capsule.

Callers supply every input, including the executable location and kernel seed. This crate never consults process arguments, environment variables, the current directory, a registry, or a target-platform detector.

Structs§

BootstrapConfigRoots
Configuration roots resolved and supplied by the embedding host.
BootstrapEnvelope
All data crossing from the tiny host rind into the bootloader.
BootstrapPolicy
Policy supplied by the embedding host; there are no ambient defaults.
BootstrapStdio
Owned stdio data. The host surface may replace output buffers after boot.
BootstrappedCapsule
Successful admission: one owned envelope and one already-instantiated lib.

Enums§

BootstrapError
Fail-closed bootstrap errors.

Constants§

BUNDLE_DESCRIPTOR_NAME
Exact descriptor name admitted beside the caller-supplied executable.
MAX_ARTIFACT_BYTES
Hard ceiling for the one native artifact.
MAX_CAPSULE_CARD_BYTES
Hard ceiling for the capsule card.
MAX_DESCRIPTOR_BYTES
Hard ceiling for the complete descriptor.
MAX_ENVELOPE_ITEMS
Hard ceiling for arguments and preopened roots.
MAX_ENVELOPE_ITEM_BYTES
Hard ceiling for any individual argument or path.

Functions§

bootstrap
Admit exactly one adjacent descriptor, capsule card, and native artifact.