mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-09 14:18:20 +00:00
Rename WasmerEnv::finish to WasmerEnv::init_with_instance
This commit is contained in:
@@ -116,7 +116,10 @@ pub unsafe extern "C" fn wasm_func_new_with_env(
|
||||
}
|
||||
|
||||
impl wasmer::WasmerEnv for WrapperEnv {
|
||||
fn finish(&mut self, _instance: &wasmer::Instance) -> Result<(), wasmer::HostEnvInitError> {
|
||||
fn init_with_instance(
|
||||
&mut self,
|
||||
_instance: &wasmer::Instance,
|
||||
) -> Result<(), wasmer::HostEnvInitError> {
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user