From 806f69832ef43ad2f38c0cc3006afa5f773d135c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Saparelli?= Date: Sat, 30 Jul 2022 10:07:54 +1200 Subject: [PATCH] Place import at the top (#258) --- src/miniwasi.wast | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/miniwasi.wast b/src/miniwasi.wast index 93655cfd..0a2b05fa 100644 --- a/src/miniwasi.wast +++ b/src/miniwasi.wast @@ -1,8 +1,8 @@ (module + (import "wasi_snapshot_preview1" "proc_exit" (func $exit (param i32))) (memory $0 0) (export "memory" (memory $0)) (export "_start" (func $0)) - (import "wasi_snapshot_preview1" "proc_exit" (func $exit (param i32))) (func $0 (call $exit (i32.const 0)) (unreachable)