wit-component 0.257.0

Tooling for working with `*.wit` and component files together.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package foo:foo;

world module {
  import returns-string: func() -> string;
  import takes-string: func(s: string);

  export takes-and-returns: func(s: string) -> string;
  export no-realloc: func();

  export x: interface {
    resource r;
    with-string: func(s: string);
  }
}