diff --git a/lib/deprecated/runtime-core/src/instance.rs b/lib/deprecated/runtime-core/src/instance.rs index 79858eba8..992abc026 100644 --- a/lib/deprecated/runtime-core/src/instance.rs +++ b/lib/deprecated/runtime-core/src/instance.rs @@ -19,26 +19,14 @@ impl Instance { } } - #[deprecated( - since = "__NEXT__VERSION__", - note = "This method is no longer available." - )] pub fn load(&self, _loader: T) -> Result { Err(()) } - #[deprecated( - since = "__NEXT__VERSION__", - note = "This method is no longer available." - )] pub fn func(&self, _name: &str) -> Result { Err(()) } - #[deprecated( - since = "__NEXT__VERSION__", - note = "Please use `instance.module().info().resolve_func(name)` instead." - )] pub fn resolve_func(&self, name: &str) -> Result { self.new_instance .module() @@ -48,10 +36,6 @@ impl Instance { .ok_or(()) } - #[deprecated( - since = "__NEXT__VERSION__", - note = "Please use `instance.exports.get_function(name).call(params)` instead." - )] pub fn call(&self, name: &str, params: &[Value]) -> Result, Box> { Ok(self .new_instance @@ -61,10 +45,6 @@ impl Instance { .into_vec()) } - #[deprecated( - since = "__NEXT_VERSION__", - note = "Please use `instance.exports` instead." - )] pub fn exports(&self) -> &new::wasmer::Exports { &self.new_instance.exports }