Function wasmer_c_api::wasm_c_api::wasi::wasi_env_new

source ยท
#[no_mangle]
pub unsafe extern "C" fn wasi_env_new(
    store: Option<&mut wasm_store_t>,
    config: Box<wasi_config_t>,
) -> Option<Box<wasi_env_t>>
Expand description

Create a new WASI environment.

It take ownership over the wasi_config_t.