mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-26 23:21:35 +00:00
add 'ProtectedCaller' to runtime
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
use crate::{
|
||||
backend::FuncResolver,
|
||||
backend::{FuncResolver, ProtectedCaller},
|
||||
error::Result,
|
||||
import::Imports,
|
||||
sig_registry::SigRegistry,
|
||||
@ -18,6 +18,7 @@ use std::rc::Rc;
|
||||
#[doc(hidden)]
|
||||
pub struct ModuleInner {
|
||||
pub func_resolver: Box<dyn FuncResolver>,
|
||||
pub protected_caller: Box<dyn ProtectedCaller>,
|
||||
// This are strictly local and the typsystem ensures that.
|
||||
pub memories: Map<LocalMemoryIndex, Memory>,
|
||||
pub globals: Map<LocalGlobalIndex, Global>,
|
||||
|
Reference in New Issue
Block a user