Debian Codegraph @

crates/wit-component/tests/components/import-only-resource-static-function/component.wat

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