Debian Codegraph @

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

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