Debian Codegraph @

crates/wit-component/tests/components/export-name-shuffling/component.wat

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