File: test.wat

package info (click to toggle)
rustc 1.85.0%2Bdfsg2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 893,176 kB
  • sloc: xml: 158,127; python: 35,830; javascript: 19,497; cpp: 19,002; sh: 17,245; ansic: 13,127; asm: 4,376; makefile: 1,051; lisp: 29; perl: 29; ruby: 19; sql: 11
file content (39 lines) | stat: -rw-r--r-- 1,107 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
(component
  (core module (;0;)
    (type (;0;) (func))
    (type (;1;) (func (param i32 i32 i32 i32) (result i32)))
    (func (;0;) (type 0)
      unreachable
    )
    (func (;1;) (type 1) (param i32 i32 i32 i32) (result i32)
      unreachable
    )
    (memory (;0;) 0)
    (export "test:foo/foo#f" (func 0))
    (export "memory" (memory 0))
    (export "cabi_realloc" (func 1))
    (@producers
      (processed-by "wit-component" "0.11.0")
    )
  )
  (core instance (;0;) (instantiate 0))
  (alias core export 0 "memory" (core memory (;0;)))
  (alias core export 0 "cabi_realloc" (core func (;0;)))
  (type (;0;) (func))
  (alias core export 0 "test:foo/foo#f" (core func (;1;)))
  (func (;0;) (type 0) (canon lift (core func 1)))
  (component (;0;)
    (type (;0;) (func))
    (import "import-func-f" (func (;0;) (type 0)))
    (type (;1;) (func))
    (export (;1;) "f" (func 0) (func (type 1)))
  )
  (instance (;0;) (instantiate 0
      (with "import-func-f" (func 0))
    )
  )
  (@producers
    (processed-by "wit-component" "0.11.0")
  )
  (export (;1;) (interface "test:foo/foo") (instance 0))
)