Clean up misc code

This commit is contained in:
Mark McCaskey
2020-10-29 13:07:04 -07:00
parent 83008a7771
commit 78f958b52c
10 changed files with 28 additions and 47 deletions

View File

@@ -98,7 +98,9 @@ pub unsafe extern "C" fn wasm_func_new_with_env(
struct WrapperEnv(*mut c_void);
impl wasmer::WasmerEnv for WrapperEnv {
fn finish(&mut self, _instance: &wasmer::Instance) {}
fn finish(&mut self, _instance: &wasmer::Instance) -> Result<(), wasmer::HostEnvInitError> {
Ok(())
}
fn free(&mut self) {}
}