Expand description
Low-level loader plugins for the SIM bootloader.
The crate owns loader mechanisms that the sim binary composes behind
feature gates. It deliberately depends on kernel and codec contracts rather
than the SDK umbrella.
Native and wasm loaders both surface site exports as opaque registry
values keyed by placement symbols. The kernel stores the value and export
record; server and agent libraries give the value EvalSite behavior.
Constants§
- BYTES_
SOURCE_ KIND - Loader-defined kind for in-memory artifact bytes.
- CONTENT_
ADDRESS_ SOURCE_ KIND - Loader-defined kind for content-addressed library artifacts.
- PATH_
SOURCE_ KIND - Loader-defined kind for local filesystem paths.
- URL_
SOURCE_ KIND - Loader-defined kind for remote URLs.
Functions§
- bytes_
from_ payload - Decodes in-memory artifact bytes from a loader-defined payload.
- bytes_
from_ source - Decodes an in-memory byte payload from a live source.
- bytes_
source - Builds a live kernel source for in-memory artifact bytes.
- bytes_
source_ kind - Returns the bytes source kind symbol.
- bytes_
source_ spec - Builds a boot-recordable kernel source spec for in-memory artifact bytes.
- catalog_
bytes_ source - Builds a catalog source for in-memory artifact bytes.
- catalog_
content_ address_ source - Builds a catalog source for content-addressed artifacts.
- catalog_
path_ source - Builds a catalog source for a local path.
- catalog_
url_ source - Builds a catalog source for a URL.
- content_
address_ payload - Decodes the opaque content-address payload from a live source.
- content_
address_ source - Builds a live kernel source for a content-addressed artifact payload.
- content_
address_ source_ kind - Returns the content-addressed source kind symbol.
- content_
address_ source_ spec - Builds a boot-recordable kernel source spec for content-addressed artifacts.
- is_
bytes_ source - Returns whether a live source has the bytes kind.
- is_
path_ source - Returns whether a live source has the local path kind.
- is_
url_ source - Returns whether a live source has the URL kind.
- path_
from_ payload - Decodes a local path from a loader-defined payload.
- path_
from_ source - Decodes a local path payload from a live source.
- path_
payload - Encodes a local path as a loader-defined payload.
- path_
source - Builds a live kernel source for a local path.
- path_
source_ kind - Returns the local path source kind symbol.
- path_
source_ spec - Builds a boot-recordable kernel source spec for a local path.
- url_
from_ payload - Decodes a URL from a loader-defined payload.
- url_
from_ source - Decodes a URL payload from a live source.
- url_
source - Builds a live kernel source for a URL.
- url_
source_ kind - Returns the URL source kind symbol.
- url_
source_ spec - Builds a boot-recordable kernel source spec for a URL.