wit-component 0.246.2

Tooling for working with `*.wit` and component files together.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(module
  (@dylink.0
    (mem-info (memory 0 4))
    (import-info "env" "foo" binding-weak)
    (import-info "env" "bar" binding-weak)
  )
  (type (func (param i32) (result i32)))
  (import "test:test/test" "foo" (func $import_foo (type 0)))
  (import "env" "foo" (func $import_foo2 (type 0)))
  (import "env" "bar" (func $import_bar (type 0)))
  (func $foo (type 0) (param i32) (result i32)
    unreachable
  )
  (export "test:test/test#foo" (func $foo))
)