;;; TOOL: run-wasm-link ;;; FLAGS: (module (export "foo" (func 0)) (func (param i32) i32.const 1 call 0) ) (module (export "bar" (func 0)) (func (param i32) i32.const 2 call 0) ) (;; STDOUT ;;; linked.wasm: file format wasm 0x1 Sections: Type start=0x0000000a end=0x00000013 (size=0x00000009) count: 2 Function start=0x00000019 end=0x0000001c (size=0x00000003) count: 2 Export start=0x00000022 end=0x0000002f (size=0x0000000d) count: 2 Code start=0x00000031 end=0x00000048 (size=0x00000017) count: 2 Section Details: Type: - type[0] (i32) -> nil - type[1] (i32) -> nil Function: - func[0] sig=0 - func[1] sig=1 Export: - func[0] -> "foo" - func[1] -> "bar" Code Disassembly: 000032 func[0]: 000034: 41 01 | i32.const 1 000036: 10 80 80 80 80 00 | call 0 00003c: 0b | end 00003d func[1]: 00003f: 41 02 | i32.const 2 000041: 10 81 80 80 80 00 | call 1 000047: 0b | end ;;; STDOUT ;;)