diff --git a/tests/wasm/exit125_wasi_snapshot0.wat b/tests/wasm/exit125_wasi_snapshot0.wat index 03e2ae9004..eeff9f5e0a 100644 --- a/tests/wasm/exit125_wasi_snapshot0.wat +++ b/tests/wasm/exit125_wasi_snapshot0.wat @@ -1,6 +1,7 @@ (module (import "wasi_unstable" "proc_exit" (func $__wasi_proc_exit (param i32))) + (memory (export "memory") 0) (func $_start (call $__wasi_proc_exit (i32.const 125)) ) diff --git a/tests/wasm/exit125_wasi_snapshot1.wat b/tests/wasm/exit125_wasi_snapshot1.wat index 6d2dbbfd38..3b8954c716 100644 --- a/tests/wasm/exit125_wasi_snapshot1.wat +++ b/tests/wasm/exit125_wasi_snapshot1.wat @@ -1,6 +1,7 @@ (module (import "wasi_snapshot_preview1" "proc_exit" (func $__wasi_proc_exit (param i32))) + (memory (export "memory") 0) (func $_start (call $__wasi_proc_exit (i32.const 125)) ) diff --git a/tests/wasm/exit126_wasi_snapshot0.wat b/tests/wasm/exit126_wasi_snapshot0.wat index 091e610011..ee54203048 100644 --- a/tests/wasm/exit126_wasi_snapshot0.wat +++ b/tests/wasm/exit126_wasi_snapshot0.wat @@ -1,6 +1,7 @@ (module (import "wasi_unstable" "proc_exit" (func $__wasi_proc_exit (param i32))) + (memory (export "memory") 0) (func $_start (call $__wasi_proc_exit (i32.const 126)) ) diff --git a/tests/wasm/exit126_wasi_snapshot1.wat b/tests/wasm/exit126_wasi_snapshot1.wat index e481533c59..bdf35b443b 100644 --- a/tests/wasm/exit126_wasi_snapshot1.wat +++ b/tests/wasm/exit126_wasi_snapshot1.wat @@ -1,6 +1,7 @@ (module (import "wasi_snapshot_preview1" "proc_exit" (func $__wasi_proc_exit (param i32))) + (memory (export "memory") 0) (func $_start (call $__wasi_proc_exit (i32.const 126)) ) diff --git a/tests/wasm/exit2_wasi_snapshot0.wat b/tests/wasm/exit2_wasi_snapshot0.wat index 244d7b6041..6149ae8719 100644 --- a/tests/wasm/exit2_wasi_snapshot0.wat +++ b/tests/wasm/exit2_wasi_snapshot0.wat @@ -1,6 +1,7 @@ (module (import "wasi_unstable" "proc_exit" (func $__wasi_proc_exit (param i32))) + (memory (export "memory") 0) (func $_start (call $__wasi_proc_exit (i32.const 2)) ) diff --git a/tests/wasm/exit2_wasi_snapshot1.wat b/tests/wasm/exit2_wasi_snapshot1.wat index 75f64407aa..5fe4df6409 100644 --- a/tests/wasm/exit2_wasi_snapshot1.wat +++ b/tests/wasm/exit2_wasi_snapshot1.wat @@ -1,6 +1,7 @@ (module (import "wasi_snapshot_preview1" "proc_exit" (func $__wasi_proc_exit (param i32))) + (memory (export "memory") 0) (func $_start (call $__wasi_proc_exit (i32.const 2)) ) diff --git a/tests/wasm/exit_with_saved_fprs.wat b/tests/wasm/exit_with_saved_fprs.wat index 6149c6bdf2..41d6039c49 100644 --- a/tests/wasm/exit_with_saved_fprs.wat +++ b/tests/wasm/exit_with_saved_fprs.wat @@ -3,6 +3,7 @@ (type (func (param i32))) (import "wasi_snapshot_preview1" "proc_exit" (func (type 0))) + (memory (export "memory") 0) (func $exit (param i32) local.get 0