diff --git a/lib/deprecated/runtime-core/doc/new-api/instance.rs b/lib/deprecated/runtime-core/doc/new-api/instance.rs index d67f441fc..0c96618c6 100644 --- a/lib/deprecated/runtime-core/doc/new-api/instance.rs +++ b/lib/deprecated/runtime-core/doc/new-api/instance.rs @@ -3,7 +3,6 @@ struct Instance { } impl Instance { - fn load(&self, _loader: T) -> Result; fn fun(&self, name: &str) -> Result, ExportError>; fn resolve_func(&self, name: &str) -> Result; fn dyn_func(&self, name: &str) -> Result; diff --git a/lib/deprecated/runtime-core/src/instance.rs b/lib/deprecated/runtime-core/src/instance.rs index 7c6d8b7ba..ae99e0d47 100644 --- a/lib/deprecated/runtime-core/src/instance.rs +++ b/lib/deprecated/runtime-core/src/instance.rs @@ -61,10 +61,6 @@ impl Instance { } } - pub fn load(&self, _loader: T) -> Result { - Err(()) - } - pub fn func(&self, name: &str) -> Result, ExportError> where Args: new::wasmer::WasmTypeList + Clone,