wit-component 0.247.0

Tooling for working with `*.wit` and component files together.
Documentation
(component
  (core module $main (;0;)
    (type (;0;) (func (param i32)))
    (export "name#a" (func 0))
    (func (;0;) (type 0) (param i32))
    (@producers
      (processed-by "wit-component" "$CARGO_PKG_VERSION")
      (processed-by "my-fake-bindgen" "123.45")
    )
  )
  (type (;0;) (record (field "f" u32)))
  (core instance $main (;0;) (instantiate $main))
  (component $foo:foo/name-shim-component (;0;)
    (type (;0;) (record (field "f" u32)))
    (export (;1;) "foo" (type 0))
  )
  (instance $foo:foo/name-shim-instance (;0;) (instantiate $foo:foo/name-shim-component))
  (export $foo:foo/name (;1;) "foo:foo/name" (instance $foo:foo/name-shim-instance))
  (type (;1;) (func (param "f" 0)))
  (alias core export $main "name#a" (core func $name#a (;0;)))
  (func $a (;0;) (type 1) (canon lift (core func $name#a)))
  (alias export $foo:foo/name "foo" (type $foo (;2;)))
  (component $name-shim-component (;1;)
    (type (;0;) (record (field "f" u32)))
    (import "import-type-foo" (type (;1;) (eq 0)))
    (import "import-type-foo0" (type (;2;) (eq 1)))
    (type (;3;) (func (param "f" 2)))
    (import "import-func-a" (func (;0;) (type 3)))
    (export (;4;) "foo" (type 1))
    (type (;5;) (func (param "f" 4)))
    (export (;1;) "a" (func 0) (func (type 5)))
  )
  (instance $name-shim-instance (;2;) (instantiate $name-shim-component
      (with "import-func-a" (func $a))
      (with "import-type-foo" (type $foo))
      (with "import-type-foo0" (type 0))
    )
  )
  (export $name (;3;) "name" (instance $name-shim-instance))
  (@producers
    (processed-by "wit-component" "$CARGO_PKG_VERSION")
  )
)