Debian Codegraph @

crates/wit-component/tests/components/post-return/component.wat

raw
1 (component
2 (core module (;0;)
3 (type (;0;) (func (param i32 i32 i32 i32) (result i32)))
4 (type (;1;) (func (result i32)))
5 (type (;2;) (func (param i32)))
6 (memory (;0;) 1)
7 (export "memory" (memory 0))
8 (export "cabi_realloc" (func 0))
9 (export "a" (func 1))
10 (export "cabi_post_a" (func 2))
11 (func (;0;) (type 0) (param i32 i32 i32 i32) (result i32)
12 unreachable
13 )
14 (func (;1;) (type 1) (result i32)
15 unreachable
16 )
17 (func (;2;) (type 2) (param i32)
18 unreachable
19 )
20 (@producers
21 (processed-by "wit-component" "$CARGO_PKG_VERSION")
22 (processed-by "my-fake-bindgen" "123.45")
23 )
24 )
25 (core instance (;0;) (instantiate 0))
26 (alias core export 0 "memory" (core memory (;0;)))
27 (type (;0;) (func (result string)))
28 (alias core export 0 "a" (core func (;0;)))
29 (alias core export 0 "cabi_realloc" (core func (;1;)))
30 (alias core export 0 "cabi_post_a" (core func (;2;)))
31 (func (;0;) (type 0) (canon lift (core func 0) (memory 0) string-encoding=utf8 (post-return 2)))
32 (export (;1;) "a" (func 0))
33 (@producers
34 (processed-by "wit-component" "$CARGO_PKG_VERSION")
35 )
36 )