wit-component 0.246.2

Tooling for working with `*.wit` and component files together.
Documentation
(component
  (type $ty-foo:foo/foo (;0;)
    (instance
      (type (;0;) (record (field "f" u8)))
      (export (;1;) "bar" (type (eq 0)))
    )
  )
  (import "foo:foo/foo" (instance $foo:foo/foo (;0;) (type $ty-foo:foo/foo)))
  (alias export $foo:foo/foo "bar" (type $bar (;1;)))
  (type $ty-other-name (;2;)
    (instance
      (alias outer 1 $bar (type (;0;)))
      (export (;1;) "bar" (type (eq 0)))
      (type (;2;) (func (result 1)))
      (export (;0;) "a" (func (type 2)))
    )
  )
  (import "other-name" (instance $other-name (;1;) (type $ty-other-name)))
  (core module $main (;0;)
    (type (;0;) (func (result i32)))
    (import "other-name" "a" (func (;0;) (type 0)))
    (@producers
      (processed-by "wit-component" "$CARGO_PKG_VERSION")
      (processed-by "my-fake-bindgen" "123.45")
    )
  )
  (alias export $other-name "a" (func $a (;0;)))
  (core func $a (;0;) (canon lower (func $a)))
  (core instance $other-name (;0;)
    (export "a" (func $a))
  )
  (core instance $main (;1;) (instantiate $main
      (with "other-name" (instance $other-name))
    )
  )
  (@producers
    (processed-by "wit-component" "$CARGO_PKG_VERSION")
  )
)