wasm-compose 0.246.2

A library for composing WebAssembly components.
Documentation
1
2
3
4
5
6
7
8
9
(component
  (type (instance (export "m" (func (param "x" string) (result string)))))
  (import "b1" (instance (type 0)))
  (import "b2" (instance (type 0)))
  (alias export 0 "m" (func))
  (alias export 1 "m" (func))
  (export "m1" (func 0))
  (export "m2" (func 1))
)