pub(crate) fn new(
        config: EngineConfig,
        memory: MemoryRef,
        module: Module,
        context: RuntimeContext<'a, R>,
        stack: RuntimeStack,
    ) -> Self {
        Self::check_preconditions(&stack);
        Runtime {
            config,
            memory,
            module,
            host_buffer: None,
            context,
            stack,
            host_function_flag: HostFunctionFlag::default(),
        }
    }
/// Creates a new runtime instance.
Creates a new runtime instance.
Creates a new runtime instance .
pub(crate) fn new(
        config: EngineConfig,
        memory: MemoryRef,
        module: Module,
        context: RuntimeContext<'a, R>,
        stack: RuntimeStack,
    ) -> Self {
        Self::check_preconditions(&stack);
        Runtime {
            config,
            memory,
            module,
            host_buffer: None,
            context,
            stack,
            host_function_flag: HostFunctionFlag::default(),
        }
    }
pub ( crate ) fn new ( config : EngineConfig , memory : MemoryRef , module : Module , context : RuntimeContext < ' a , R > , stack : RuntimeStack , ) -> Self { Self :: check_preconditions ( & stack ) ; Runtime { config , memory , module , host_buffer : None , context , stack , host_function_flag : HostFunctionFlag :: default ( ) , } }
Creates a new runtime instance.
Creates a new runtime instance .
config
EngineConfig
memory
MemoryRef
module
Module
context
RuntimeContext<'a, R>
stack
RuntimeStack
config
EngineConfig
memory
MemoryRef
module
Module
context
RuntimeContext<'a, R>
stack
RuntimeStack