Debian Codegraph @

crates/wit-component/tests/components/unused-import/component.wat

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