Skip to content

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

342 B
Raw Blame
package foo:foo;

interface wasi-filesystem {
  record descriptor-stat {
    a: u32,
  }

  enum errno { e }


  create-directory-at: func() -> result<_, errno>;

  stat: func() -> result<descriptor-stat, errno>;
}

interface wall-clock {
  record wall-clock {
    a: u32,
  }
}

world wasi {
  import wasi-filesystem;
  import wall-clock;
}