Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

391 B
Raw Blame
world test-reactor {
  include wasi:cli/[email protected];

  export add-strings: func(s: list<string>) -> u32;
  export get-strings: func() -> list<string>;

  use wasi:io/[email protected].{output-stream};

  export write-strings-to: func(o: output-stream) -> result;

  use wasi:filesystem/[email protected].{descriptor-stat};
  export pass-an-imported-record: func(d: descriptor-stat) -> string;
}