Sha256: 61267d096998b68bfd72845854f6a2d5391d68f6a0094887fc05cf97cb54410e

Contents?: true

Size: 405 Bytes

Versions: 11

Compression:

Stored size: 405 Bytes

Contents

package foo:foo;

interface types {
  resource request {
    foo: func();
    bar: func(arg: list<u32>);
  }

  resource response {
    foo: func();
    bar: func(arg: list<u32>);
  }
}

interface handler {
  use types.{request, response};
  handle: func(some: borrow<request>) -> response;
  handle-owned: func(some: own<request>) -> own<response>;
}

world proxy {
  import handler;
  export handler;
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/wit-parser-0.221.2/tests/ui/world-top-level-resources.wit
wasmtime-28.0.0 ./ext/cargo-vendor/wit-parser-0.221.2/tests/ui/world-top-level-resources.wit
wasmtime-27.0.0 ./ext/cargo-vendor/wit-parser-0.219.1/tests/ui/world-top-level-resources.wit
wasmtime-26.0.0 ./ext/cargo-vendor/wit-parser-0.218.0/tests/ui/world-top-level-resources.wit
wasmtime-25.0.2 ./ext/cargo-vendor/wit-parser-0.217.0/tests/ui/world-top-level-resources.wit
wasmtime-25.0.1 ./ext/cargo-vendor/wit-parser-0.217.0/tests/ui/world-top-level-resources.wit
wasmtime-25.0.0 ./ext/cargo-vendor/wit-parser-0.217.0/tests/ui/world-top-level-resources.wit
wasmtime-24.0.0 ./ext/cargo-vendor/wit-parser-0.215.0/tests/ui/world-top-level-resources.wit
wasmtime-23.0.2 ./ext/cargo-vendor/wit-parser-0.212.0/tests/ui/world-top-level-resources.wit
wasmtime-22.0.0 ./ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-top-level-resources.wit
wasmtime-21.0.1 ./ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-top-level-resources.wit