mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-08 21:58:20 +00:00
Fix tests in C API and deprecated API
This commit is contained in:
@@ -101,7 +101,7 @@ pub unsafe extern "C" fn wasm_func_new_with_env(
|
||||
let func_sig = &function_type.inner().function_type;
|
||||
let num_rets = func_sig.results().len();
|
||||
|
||||
#[derive(wasmer::WasmerEnv)]
|
||||
#[derive(wasmer::WasmerEnv, Clone)]
|
||||
#[repr(C)]
|
||||
struct WrapperEnv {
|
||||
env: *mut c_void,
|
||||
|
||||
Reference in New Issue
Block a user