()
| 10 | const BENCH_MEASUREMENT_TIME: core::time::Duration = core::time::Duration::from_secs(10); |
| 11 | |
| 12 | fn tinywasm_parse() -> Result<Module> { |
| 13 | let parser = tinywasm_parser::Parser::new(); |
| 14 | Ok(parser.parse_module_bytes(WASM)?) |
| 15 | } |
| 16 | |
| 17 | fn setup_typed_func(module: &Module, engine: Option<Engine>) -> Result<(Store, FunctionTyped<(), ()>)> { |
| 18 | let mut store = match engine { |
no test coverage detected