Expand description
Native Rust parser for unkernel.wasm bundle custom sections and KWP1 kernel patches
(unkernel.kernel.smp.kwpatch), eliminating any Node.js build/unpack dependency.
Structs§
- Unpacked
Bundle - Parsed metadata and unpacked SMP Wasm module extracted from an
unkernel.wasmbundle.
Functions§
- ensure_
mutable_ globals_ exported - Ensure every mutable global in a Wasm module is exported so the multi-instance
task scheduler can save and restore per-CPU Wasm globals across
wasm_switch_toeven when upstream builds strip--export-all(unkernelv0.3.0+). - parse_
custom_ sections - Extract all custom sections from a Wasm module.
- unpack_
smp_ bundle - Unpack the SMP Wasm kernel (
unkernel.kernel.smp.kwpatch), initrd, and cmdline directly from an unmodifiedunkernel.wasmbundle.