Debian Codegraph @

tests/snapshots/cli/component-model/alias.wast/3.print

raw
1 (component
2 (core type (;0;)
3 (module
4 (export "memory" (memory 1))
5 (export "table" (table 0 funcref))
6 (type (;0;) (func))
7 (export "func" (func (type 0)))
8 (export "global" (global i32))
9 (export "global mut" (global (mut i64)))
10 )
11 )
12 (import "a" (core module $libc (;0;) (type 0)))
13 (core instance $libc (;0;) (instantiate $libc))
14 (alias core export $libc "memory" (core memory $mem (;0;)))
15 (alias core export $libc "table" (core table $tbl (;0;)))
16 (alias core export $libc "func" (core func $func (;0;)))
17 (alias core export $libc "global" (core global $global (;0;)))
18 (alias core export $libc "global mut" (core global $global_mut (;1;)))
19 (core type (;1;)
20 (module
21 (import "" "memory" (memory 1))
22 (import "" "table" (table 0 funcref))
23 (type (;0;) (func))
24 (import "" "func" (func (type 0)))
25 (import "" "global" (global i32))
26 (import "" "global mut" (global (mut i64)))
27 )
28 )
29 (import "x" (core module $needs_libc (;1;) (type 1)))
30 (core instance (;1;)
31 (export "memory" (memory $mem))
32 (export "table" (table $tbl))
33 (export "func" (func $func))
34 (export "global" (global $global))
35 (export "global mut" (global $global_mut))
36 )
37 (core instance (;2;) (instantiate $needs_libc
38 (with "" (instance 1))
39 )
40 )
41 )