Debian Codegraph @

crates/wit-component/tests/interfaces/floats.wat

raw
1 (component
2 (type (;0;)
3 (component
4 (type (;0;)
5 (instance
6 (type (;0;) (func (param "x" f32)))
7 (export (;0;) "f32-param" (func (type 0)))
8 (type (;1;) (func (param "x" f64)))
9 (export (;1;) "f64-param" (func (type 1)))
10 (type (;2;) (func (result f32)))
11 (export (;2;) "f32-result" (func (type 2)))
12 (type (;3;) (func (result f64)))
13 (export (;3;) "f64-result" (func (type 3)))
14 )
15 )
16 (export (;0;) "foo:floats/floats" (instance (type 0)))
17 )
18 )
19 (export (;1;) "floats" (type 0))
20 (type (;2;)
21 (component
22 (type (;0;)
23 (component
24 (type (;0;)
25 (instance
26 (type (;0;) (func (param "x" f32)))
27 (export (;0;) "f32-param" (func (type 0)))
28 (type (;1;) (func (param "x" f64)))
29 (export (;1;) "f64-param" (func (type 1)))
30 (type (;2;) (func (result f32)))
31 (export (;2;) "f32-result" (func (type 2)))
32 (type (;3;) (func (result f64)))
33 (export (;3;) "f64-result" (func (type 3)))
34 )
35 )
36 (import "foo:floats/floats" (instance (;0;) (type 0)))
37 )
38 )
39 (export (;0;) "foo:floats/floats-world" (component (type 0)))
40 )
41 )
42 (export (;3;) "floats-world" (type 2))
43 (@custom "package-docs" "\01{}")
44 (@producers
45 (processed-by "wit-component" "$CARGO_PKG_VERSION")
46 )
47 )