Place import at the top (#258)

This commit is contained in:
Félix Saparelli 2022-07-30 10:07:54 +12:00 committed by GitHub
parent 0c761857be
commit 806f69832e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,8 @@
(module (module
(import "wasi_snapshot_preview1" "proc_exit" (func $exit (param i32)))
(memory $0 0) (memory $0 0)
(export "memory" (memory $0)) (export "memory" (memory $0))
(export "_start" (func $0)) (export "_start" (func $0))
(import "wasi_snapshot_preview1" "proc_exit" (func $exit (param i32)))
(func $0 (func $0
(call $exit (i32.const 0)) (call $exit (i32.const 0))
(unreachable) (unreachable)