diff options
| author | Henry <mail@henrygressmann.de> | 2026-04-18 00:37:24 +0200 |
|---|---|---|
| committer | Henry <mail@henrygressmann.de> | 2026-04-18 00:37:24 +0200 |
| commit | 77cf2a6812f5563f902479175cc8b59502ce233c (patch) | |
| tree | 54d44a5a5bb81de134c158bc766e6d45a14b6751 /examples | |
| parent | 468a600d029d6aa45447c4346b11c9b9371050ca (diff) | |
chore: cleanup
Signed-off-by: Henry <mail@henrygressmann.de>
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/wasm-rust.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/wasm-rust.rs b/examples/wasm-rust.rs index 4386531..2d2b91a 100644 --- a/examples/wasm-rust.rs +++ b/examples/wasm-rust.rs @@ -119,7 +119,7 @@ fn hello() -> Result<()> { let arg_ptr = instance.func::<(), i32>(&store, "arg_ptr")?.call(&mut store, ())?; let arg = b"world"; - instance.memory("memory")?.store(&mut store, arg_ptr as usize, arg.len(), arg)?; + instance.memory("memory")?.store(&mut store, arg_ptr as usize, arg)?; let hello = instance.func::<i32, ()>(&store, "hello")?; hello.call(&mut store, arg.len() as i32)?; |
