Debian Codegraph @

crates/wit-component/tests/components/resource-intrinsics-with-just-import/component.wat

raw
1 (component
2 (type (;0;)
3 (instance
4 (export (;0;) "a" (type (sub resource)))
5 )
6 )
7 (import "foo" (instance (;0;) (type 0)))
8 (core module (;0;)
9 (type (;0;) (func (param i32)))
10 (import "foo" "[resource-drop]a" (func (;0;) (type 0)))
11 (@producers
12 (processed-by "wit-component" "$CARGO_PKG_VERSION")
13 (processed-by "my-fake-bindgen" "123.45")
14 )
15 )
16 (alias export 0 "a" (type (;1;)))
17 (core func (;0;) (canon resource.drop 1))
18 (core instance (;0;)
19 (export "[resource-drop]a" (func 0))
20 )
21 (core instance (;1;) (instantiate 0
22 (with "foo" (instance 0))
23 )
24 )
25 (@producers
26 (processed-by "wit-component" "$CARGO_PKG_VERSION")
27 )
28 )