Skip to content

Commit

Permalink
Update examples/wasmtime/src/preview1.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Kröning <[email protected]>
  • Loading branch information
stlankes and mkroening authored Jul 1, 2024
1 parent 7b60200 commit 9a7f261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/wasmtime/src/preview1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ pub(crate) fn init<T>(linker: &mut wasmtime::Linker<T>) -> Result<()> {
// Currently, we ignore the arguments
if let Some(Extern::Memory(mem)) = caller.get_export("memory") {
// Currently, we ignore the environment
let zereo: u32 = 0;
let zero: u32 = 0;

let _ = mem.write(
caller.as_context_mut(),
Expand Down

0 comments on commit 9a7f261

Please sign in to comment.