From 77cf2a6812f5563f902479175cc8b59502ce233c Mon Sep 17 00:00:00 2001 From: Henry Date: Sat, 18 Apr 2026 00:37:24 +0200 Subject: chore: cleanup Signed-off-by: Henry --- examples/wasm-rust.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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::(&store, "hello")?; hello.call(&mut store, arg.len() as i32)?; -- cgit v1.3.1