Expand description
Hyperlight WebAssembly backend implementing the Sandbox trait.
Note: Hyperlight runs WebAssembly modules, not shell commands.
The exec method expects Wasm function names, not shell commands.
Supports both .wasm (binary) and .wat (text) format files. WAT files are automatically compiled to WASM on load.
Structs§
- Hyperlight
Sandbox - Hyperlight WebAssembly sandbox
Functions§
- compile_
wat - Compile WAT (WebAssembly Text) to WASM binary
- compile_
wat_ file - Compile WAT file to WASM binary
- hyperlight_
available - Check if Hyperlight is available on this system
- is_
wat_ file - Check if a file is WAT format (by extension)
- load_
wasm_ file - Load WASM from file, auto-detecting WAT format