feat: update wasmtime version
This commit is contained in:
@@ -20,7 +20,7 @@ fn main() -> Result<()> {
|
||||
|
||||
let instance = linker.instantiate(&mut store, &module)?;
|
||||
|
||||
let hello = instance.get_typed_func::<(i32, i32), i32, _>(&mut store, "add")?;
|
||||
let hello = instance.get_typed_func::<(i32, i32), i32>(&mut store, "add")?;
|
||||
// let hello2 = instance.get_typed_func::<(&str, i32), i32, _>(&mut store, "add")?;
|
||||
|
||||
store.add_fuel(10_000_u64).ok();
|
||||
|
||||
Reference in New Issue
Block a user