Debian Codegraph @

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

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