MCPcopy Create free account
hub / github.com/explodingcamera/tinywasm / exec

Method exec

crates/tinywasm/src/interpreter/mod.rs:29–31  ·  view source on GitHub ↗
(store: &mut Store, cf: CallFrame, call_stack_base: u32)

Source from the content-addressed store, hash-verified

27
28impl InterpreterRuntime {
29 pub(crate) fn exec(store: &mut Store, cf: CallFrame, call_stack_base: u32) -> Result<(), Trap> {
30 executor::Executor::<false>::new(store, cf, call_stack_base).run_to_completion()
31 }
32
33 pub(crate) fn exec_with_fuel(store: &mut Store, cf: CallFrame, fuel: u32) -> Result<ExecState, Trap> {
34 executor::Executor::<true>::new(store, cf, 0).run_with_fuel(fuel)

Callers

nothing calls this directly

Calls 1

run_to_completionMethod · 0.80

Tested by

no test coverage detected