Fix get_typed_fund extra param in benchmark (#5280)
This commit is contained in:
@@ -533,7 +533,7 @@ impl BenchState {
|
||||
.take()
|
||||
.expect("instantiate the module before executing it");
|
||||
|
||||
let start_func = instance.get_typed_func::<(), (), _>(&mut store, "_start")?;
|
||||
let start_func = instance.get_typed_func::<(), ()>(&mut store, "_start")?;
|
||||
match start_func.call(&mut store, ()) {
|
||||
Ok(_) => Ok(()),
|
||||
Err(trap) => {
|
||||
|
||||
Reference in New Issue
Block a user