Skip to main content

plug_process

Macro plug_process 

Source
macro_rules! plug_process {
    ($ty:ty, $($wasm:ident),+) => { ... };
    ($($wasm:ident),*) => { ... };
    (@inner, $($wasm:ident),*) => { ... };
}
Expand description

Plugs the process exit ecosystem by defining necessary handlers.

use wasi_virt_layer::prelude::*;

import_wasm!(test_wasm);

plug_process!(StandardProcess, test_wasm);