pub fn generate_import_object_from_env(
    store: &mut impl AsStoreMut,
    ctx: &FunctionEnv<WasiEnv>,
    version: WasiVersion
) -> Imports
Expand description

Create an Imports with an existing WasiEnv. WasiEnv needs a [WasiState], that can be constructed from a WasiEnvBuilder.