mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-10 22:58:18 +00:00
feat(deprecated) Remove the deprecated Instance.func method.
This commit is contained in:
@@ -21,10 +21,6 @@ impl Instance {
|
||||
Err(())
|
||||
}
|
||||
|
||||
pub fn func<Args, Rets>(&self, _name: &str) -> Result<Infallible, ()> {
|
||||
Err(())
|
||||
}
|
||||
|
||||
pub fn resolve_func(&self, name: &str) -> Result<usize, ()> {
|
||||
self.new_instance
|
||||
.module()
|
||||
|
||||
Reference in New Issue
Block a user