execsandbox 0.1.1

Rust bindings for ExecSandbox's WASM guest ABI (send/recv/conn_write/max_frame), for guest modules built for wasm32-wasip1.
Documentation
1
2
3
4
5
6
7
8
//! A minimal ExecSandbox guest: sends one message to destination 1 and
//! exits. Run it with a host launched as
//! `execsandbox -d 1=<peer-name> ...` so destination 1 resolves to a
//! peer sandbox.

fn main() {
    execsandbox::send(1, b"hello from execsandbox-sdk");
}