Initial module level function exports

This commit is contained in:
dcodeIO
2017-12-02 23:33:01 +01:00
parent 9e053f311e
commit eaf9253b96
8 changed files with 33 additions and 18 deletions

View File

@@ -4,6 +4,8 @@
(global $export/b (mut i32) (i32.const 2))
(memory $0 1)
(data (i32.const 4) "\08\00\00\00")
(export "add" (func $export/add))
(export "renamed_sub" (func $export/sub))
(export "memory" (memory $0))
(func $export/add (; 0 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
(return