Debian Codegraph @

crates/wit-component/tests/components/adapt-export-namespaced/component.wat

raw
1 (component
2 (core module (;0;)
3 (type (;0;) (func))
4 (export "the_entrypoint" (func 0))
5 (func (;0;) (type 0))
6 (@producers
7 (processed-by "wit-component" "$CARGO_PKG_VERSION")
8 (processed-by "my-fake-bindgen" "123.45")
9 )
10 )
11 (core module (;1;)
12 (type (;0;) (func))
13 (import "__main_module__" "the_entrypoint" (func $entry (;0;) (type 0)))
14 (export "foo:foo/new#entrypoint" (func $entry))
15 )
16 (core instance (;0;) (instantiate 0))
17 (alias core export 0 "the_entrypoint" (core func (;0;)))
18 (core instance (;1;)
19 (export "the_entrypoint" (func 0))
20 )
21 (core instance (;2;) (instantiate 1
22 (with "__main_module__" (instance 1))
23 )
24 )
25 (type (;0;) (func))
26 (alias core export 2 "foo:foo/new#entrypoint" (core func (;1;)))
27 (func (;0;) (type 0) (canon lift (core func 1)))
28 (component (;0;)
29 (type (;0;) (func))
30 (import "import-func-entrypoint" (func (;0;) (type 0)))
31 (type (;1;) (func))
32 (export (;1;) "entrypoint" (func 0) (func (type 1)))
33 )
34 (instance (;0;) (instantiate 0
35 (with "import-func-entrypoint" (func 0))
36 )
37 )
38 (export (;1;) "foo:foo/new" (instance 0))
39 (@producers
40 (processed-by "wit-component" "$CARGO_PKG_VERSION")
41 )
42 )