| 1 |
(module |
| 2 |
(import "foo:shared-dependency/doc" "f1" (func $f1)) |
| 3 |
(import "foo:shared-dependency/doc" "f3" (func $f3)) |
| 4 |
|
| 5 |
(import "foo:shared-dependency/doc" "g1" (func $g1 (param i32))) |
| 6 |
(import "foo:shared-dependency/doc" "g3" (func $g3 (param i32))) |
| 7 |
|
| 8 |
(import "foo:shared-dependency/doc" "unused-in-adapter" (func)) |
| 9 |
(import "env" "memory" (memory 0)) |
| 10 |
|
| 11 |
(import "adapter-dep" "foo" (func $foo (result i32))) |
| 12 |
|
| 13 |
(func (export "adapter-f1") |
| 14 |
call $f1 |
| 15 |
call $f3 |
| 16 |
(call $g1 (i32.const 0)) |
| 17 |
(call $g3 (i32.const 0)) |
| 18 |
(drop (call $foo)) |
| 19 |
) |
| 20 |
|
| 21 |
(func (export "cabi_import_realloc") (param i32 i32 i32 i32) (result i32) |
| 22 |
unreachable) |
| 23 |
) |