mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-10 22:58:18 +00:00
feat(deprecated) Port TypedIndex (alias to EntityRef).
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use crate::{module::Module, new, types::Value};
|
||||
use crate::{module::Module, new, structures::TypedIndex, types::Value};
|
||||
use std::{convert::Infallible, error::Error};
|
||||
|
||||
pub use new::wasmer::Exports;
|
||||
@@ -41,8 +41,6 @@ impl Instance {
|
||||
note = "Please use `instance.module().info().resolve_func(name)` instead."
|
||||
)]
|
||||
pub fn resolve_func(&self, name: &str) -> Result<usize, ()> {
|
||||
use new::wasm_common::entity::EntityRef;
|
||||
|
||||
self.new_instance
|
||||
.module()
|
||||
.info()
|
||||
|
||||
Reference in New Issue
Block a user