mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-08 13:48:26 +00:00
Clean up misc code
This commit is contained in:
@@ -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) {}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user