Debian Codegraph @

vendor/wit-component/tests/targets/error-missing-export/test.wat

raw
1 (component
2 (core module (;0;)
3 (type (;0;) (func))
4 (type (;1;) (func (param i32 i32 i32 i32) (result i32)))
5 (func (;0;) (type 0)
6 unreachable
7 )
8 (func (;1;) (type 1) (param i32 i32 i32 i32) (result i32)
9 unreachable
10 )
11 (memory (;0;) 0)
12 (export "test:foo/foo#f" (func 0))
13 (export "memory" (memory 0))
14 (export "cabi_realloc" (func 1))
15 (@producers
16 (processed-by "wit-component" "0.11.0")
17 )
18 )
19 (core instance (;0;) (instantiate 0))
20 (alias core export 0 "memory" (core memory (;0;)))
21 (alias core export 0 "cabi_realloc" (core func (;0;)))
22 (type (;0;) (func))
23 (alias core export 0 "test:foo/foo#f" (core func (;1;)))
24 (func (;0;) (type 0) (canon lift (core func 1)))
25 (component (;0;)
26 (type (;0;) (func))
27 (import "import-func-f" (func (;0;) (type 0)))
28 (type (;1;) (func))
29 (export (;1;) "f" (func 0) (func (type 1)))
30 )
31 (instance (;0;) (instantiate 0
32 (with "import-func-f" (func 0))
33 )
34 )
35 (@producers
36 (processed-by "wit-component" "0.11.0")
37 )
38 (export (;1;) (interface "test:foo/foo") (instance 0))
39 )