Skip to main content

plug_random

Macro plug_random 

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

Plugs the random ecosystem by defining necessary handlers.

use wasi_virt_layer::prelude::*;

import_wasm!(test_wasm);

plug_random!(StandardRandom, test_wasm);