wit-component 0.246.2

Tooling for working with `*.wit` and component files together.
Documentation
(component
  (import "a" (type $a (;0;) (sub resource)))
  (type (;1;) (own $a))
  (type (;2;) (func (result 1)))
  (import "[constructor]a" (func $"[constructor]a" (;0;) (type 2)))
  (import "[static]a.other-new" (func $"[static]a.other-new" (;1;) (type 2)))
  (core module $main (;0;)
    (type (;0;) (func (result i32)))
    (type (;1;) (func (param i32)))
    (import "$root" "[constructor]a" (func (;0;) (type 0)))
    (import "$root" "[static]a.other-new" (func (;1;) (type 0)))
    (import "$root" "[resource-drop]a" (func (;2;) (type 1)))
    (@producers
      (processed-by "wit-component" "$CARGO_PKG_VERSION")
      (processed-by "my-fake-bindgen" "123.45")
    )
  )
  (core func $"[constructor]a" (;0;) (canon lower (func $"[constructor]a")))
  (core func $"[static]a.other-new" (;1;) (canon lower (func $"[static]a.other-new")))
  (core func $resource.drop (;2;) (canon resource.drop $a))
  (core instance $$root (;0;)
    (export "[constructor]a" (func $"[constructor]a"))
    (export "[static]a.other-new" (func $"[static]a.other-new"))
    (export "[resource-drop]a" (func $resource.drop))
  )
  (core instance $main (;1;) (instantiate $main
      (with "$root" (instance $$root))
    )
  )
  (@producers
    (processed-by "wit-component" "$CARGO_PKG_VERSION")
  )
)