wasi_env_new

Function wasi_env_new 

Source
#[unsafe(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.