Add start section

This commit is contained in:
Nathan Braswell
2021-07-27 22:21:03 -04:00
parent dbece88861
commit 11684d9a35
2 changed files with 33 additions and 21 deletions

View File

@@ -80,6 +80,7 @@
)
(export "memory" (memory $mem))
(export "_start" (func $start))
(start $start)
)
_ (write_file out (wasm_to_binary wasm_code))
return_code 0