wit-component 0.246.2

Tooling for working with `*.wit` and component files together.
Documentation
(component
  (type $ty-a:b/types (;0;)
    (instance
      (export (;0;) "fields" (type (sub resource)))
      (export (;1;) "trailers" (type (eq 0)))
    )
  )
  (import "a:b/types" (instance $a:b/types (;0;) (type $ty-a:b/types)))
  (core module $main (;0;)
    (type (;0;) (func (param i32) (result i32)))
    (type (;1;) (func (param i32)))
    (import "a:b/types" "[future-cancel-read-0][static]request.new" (func (;0;) (type 0)))
    (import "a:b/types" "[resource-drop]fields" (func (;1;) (type 1)))
    (memory (;0;) 17)
    (export "memory" (memory 0))
    (@producers
      (processed-by "wit-component" "$CARGO_PKG_VERSION")
      (processed-by "my-fake-bindgen" "123.45")
    )
  )
  (alias export $a:b/types "trailers" (type $trailers (;1;)))
  (type (;2;) (own $trailers))
  (type (;3;) (future 2))
  (core func $future.cancel-read (;0;) (canon future.cancel-read 3))
  (alias export $a:b/types "fields" (type $fields (;4;)))
  (core func $resource.drop (;1;) (canon resource.drop $fields))
  (core instance $a:b/types (;0;)
    (export "[future-cancel-read-0][static]request.new" (func $future.cancel-read))
    (export "[resource-drop]fields" (func $resource.drop))
  )
  (core instance $main (;1;) (instantiate $main
      (with "a:b/types" (instance $a:b/types))
    )
  )
  (alias core export $main "memory" (core memory $memory (;0;)))
  (@producers
    (processed-by "wit-component" "$CARGO_PKG_VERSION")
  )
)