Debian Codegraph @

tests/snapshots/cli/component-model-async/streams.wast/3.print

raw
1 (component
2 (core module $libc (;0;)
3 (type (;0;) (func (param i32 i32 i32 i32) (result i32)))
4 (memory (;0;) 1)
5 (export "realloc" (func 0))
6 (export "memory" (memory 0))
7 (func (;0;) (type 0) (param i32 i32 i32 i32) (result i32)
8 unreachable
9 )
10 )
11 (core instance $libc (;0;) (instantiate $libc))
12 (core module $m (;1;)
13 (type (;0;) (func (param i32 i32 i32) (result i32)))
14 (import "" "stream.read" (func $stream-read (;0;) (type 0)))
15 )
16 (type $stream-type (;0;) (stream string))
17 (alias core export $libc "memory" (core memory (;0;)))
18 (alias core export $libc "realloc" (core func (;0;)))
19 (core func $stream-read (;1;) (canon stream.read $stream-type async (memory 0) (realloc 0)))
20 (core instance (;1;)
21 (export "stream.read" (func $stream-read))
22 )
23 (core instance $i (;2;) (instantiate $m
24 (with "" (instance 1))
25 )
26 )
27 )