diff options
| author | Henry <mail@henrygressmann.de> | 2026-04-12 13:34:31 +0200 |
|---|---|---|
| committer | Henry <mail@henrygressmann.de> | 2026-04-12 13:34:31 +0200 |
| commit | dcd8b152466ab023762e4b9b6fc50c99da0cae50 (patch) | |
| tree | 391486a6a7edc56eb2a9135f295c270634ad3247 /examples/resumable.rs | |
| parent | 87499c635504e808960e0c6ffffe2b43ca4d6206 (diff) | |
feat: rework public api, add missing export apis
Signed-off-by: Henry <mail@henrygressmann.de>
Diffstat (limited to 'examples/resumable.rs')
| -rw-r--r-- | examples/resumable.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/resumable.rs b/examples/resumable.rs index 6838e20..f3ebc89 100644 --- a/examples/resumable.rs +++ b/examples/resumable.rs @@ -27,7 +27,7 @@ fn main() -> Result<()> { let module = Module::parse_bytes(&wasm)?; let mut store = Store::default(); let instance = module.instantiate(&mut store, None)?; - let count_down = instance.exported_func::<i32, i32>(&store, "count_down")?; + let count_down = instance.func_typed::<i32, i32>(&store, "count_down")?; let mut execution = count_down.call_resumable(&mut store, 10_000)?; let fuel_per_round = 128; |
