Fix tests in C API and deprecated API

This commit is contained in:
Mark McCaskey
2020-12-04 17:40:37 -08:00
parent 4ec8c9e71a
commit ca4736cca9
10 changed files with 178 additions and 69 deletions

View File

@@ -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,