diff options
| author | Henry <mail@henrygressmann.de> | 2026-04-12 21:16:49 +0200 |
|---|---|---|
| committer | Henry <mail@henrygressmann.de> | 2026-04-12 21:16:49 +0200 |
| commit | 80cf746b50513af77203f382f5f53bd036087358 (patch) | |
| tree | a9493ec0a69caba0dd82e568b6556340be306e0a /examples/linking.rs | |
| parent | d89729df921d39f81fe8a43990678853deb1edde (diff) | |
feat: remove lifetimes from runtime objects
Signed-off-by: Henry <mail@henrygressmann.de>
Diffstat (limited to 'examples/linking.rs')
| -rw-r--r-- | examples/linking.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/linking.rs b/examples/linking.rs index ce9748b..4da7fec 100644 --- a/examples/linking.rs +++ b/examples/linking.rs @@ -43,7 +43,7 @@ fn main() -> Result<()> { let import_instance = import_module.instantiate(&mut store, Some(imports))?; // Call the `main` function, which uses the imported `add` function. - let main = import_instance.func_typed::<(), i32>(&store, "main")?; + let main = import_instance.func::<(), i32>(&store, "main")?; assert_eq!(main.call(&mut store, ())?, 3); Ok(()) |
