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);