mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-16 16:20:49 +00:00
Change FuncResolver::resolve signature
This commit is contained in:
parent
1bb5e420f3
commit
4bd2c3d053
@ -1,4 +1,5 @@
|
||||
use crate::runtime::{module::Module, types::FuncIndex, vm};
|
||||
use std::ptr::NonNull;
|
||||
use std::sync::Arc;
|
||||
|
||||
pub trait Compiler {
|
||||
@ -6,5 +7,5 @@ pub trait Compiler {
|
||||
}
|
||||
|
||||
pub trait FuncResolver {
|
||||
fn resolve(&self, index: FuncIndex) -> Option<*const vm::Func>;
|
||||
fn resolve(&self, index: FuncIndex) -> Option<NonNull<vm::Func>>;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user