pub fn ensure_mutable_globals_exported(wasm: &[u8]) -> Result<Vec<u8>>Expand description
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_to
even when upstream builds strip --export-all (unkernel v0.3.0+).