Function wasmer_c_api::wasm_c_api::unstable::wasi::wasi_get_unordered_imports
source · #[no_mangle]
pub unsafe extern "C" fn wasi_get_unordered_imports(
wasi_env: Option<&mut wasi_env_t>,
module: Option<&wasm_module_t>,
imports: &mut wasmer_named_extern_vec_t
) -> bool
Expand description
Non-standard function to get the imports needed for the WASI
implementation with no particular order. Each import has its
associated module name and name, so that it can be re-order later
based on the wasm_module_t
requirements.