wasmtime-component-macro 24.0.7

Macros for deriving component interface types from Rust types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package foo:foo;

interface multi-return {
  mra: func();
  mrb: func() -> ();
  mrc: func() -> u32;
  mrd: func() -> (a: u32);
  mre: func() -> (a: u32, b: float32);
}

world the-world {
  import multi-return;
  export multi-return;
}