Debian Codegraph @

crates/wit-component/tests/components/async-import-tricky/component.wat

raw
1 (component
2 (type (;0;)
3 (instance
4 (export (;0;) "fields" (type (sub resource)))
5 (export (;1;) "trailers" (type (eq 0)))
6 )
7 )
8 (import "a:b/types" (instance (;0;) (type 0)))
9 (core module (;0;)
10 (type (;0;) (func (param i32) (result i32)))
11 (type (;1;) (func (param i32)))
12 (import "a:b/types" "[future-cancel-read-0][static]request.new" (func (;0;) (type 0)))
13 (import "a:b/types" "[resource-drop]fields" (func (;1;) (type 1)))
14 (memory (;0;) 17)
15 (export "memory" (memory 0))
16 (@producers
17 (processed-by "wit-component" "$CARGO_PKG_VERSION")
18 (processed-by "my-fake-bindgen" "123.45")
19 )
20 )
21 (alias export 0 "trailers" (type (;1;)))
22 (type (;2;) (own 1))
23 (type (;3;) (future 2))
24 (core func (;0;) (canon future.cancel-read 3))
25 (alias export 0 "fields" (type (;4;)))
26 (core func (;1;) (canon resource.drop 4))
27 (core instance (;0;)
28 (export "[future-cancel-read-0][static]request.new" (func 0))
29 (export "[resource-drop]fields" (func 1))
30 )
31 (core instance (;1;) (instantiate 0
32 (with "a:b/types" (instance 0))
33 )
34 )
35 (alias core export 1 "memory" (core memory (;0;)))
36 (@producers
37 (processed-by "wit-component" "$CARGO_PKG_VERSION")
38 )
39 )