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

Function run_call

crates/tinywasm/benches/tinywasm_modes.rs:31–34  ·  view source on GitHub ↗
(store: &mut Store, func: &FunctionTyped<(), ()>)

Source from the content-addressed store, hash-verified

29}
30
31fn run_call(store: &mut Store, func: &FunctionTyped<(), ()>) -> Result<()> {
32 func.call(store, ())?;
33 Ok(())
34}
35
36fn run_resume_with_fuel(store: &mut Store, func: &FunctionTyped<(), ()>) -> Result<()> {
37 let mut execution = func.call_resumable(store, ())?;

Callers 1

criterion_benchmarkFunction · 0.85

Calls 1

callMethod · 0.80

Tested by

no test coverage detected