Sha256: 4856bf403caea6403cd98b73c44a6277c9af52b7e3c16c756f6cc0e4711e3c3f

Contents?: true

Size: 959 Bytes

Versions: 23

Compression:

Stored size: 959 Bytes

Contents

package foo:root;

interface foo {
  use foo:wasi/clocks.{timestamp};
  use foo:wasi/filesystem.{stat};
}

world my-world {
  import foo:wasi/filesystem;
  import foo:wasi/clocks;

  export foo:corp/saas;
}

use foo:wasi/filesystem as filesystem;
use foo:wasi/clocks as clocks;

world my-world2 {
  import filesystem;
  import clocks;
  export foo;
  export foo:corp/saas;
}

interface bar {
  use filesystem.{};
  use foo:some-pkg/the-default.{from-default};
  use foo:some-pkg/some-interface.{another-type};
  use foo:some-pkg/some-interface.{};
  use foo:some-pkg/another-interface.{yet-another-type};
  use foo:different-pkg/i.{};
}

world bars-world {
  import foo:some-pkg/the-default;
  import foo:another-pkg/other-interface;
}

interface use1 {
  use foo:foreign-pkg/the-default.{some-type};
}
interface use2 {
  use foo:foreign-pkg/the-default.{some-type};
}

world unionw-world {
  include my-world;
  include my-world2;
  include foo:wasi/wasi;
}

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/wit-parser-0.221.2/tests/ui/foreign-deps-union/root.wit
wasmtime-28.0.0 ./ext/cargo-vendor/wit-parser-0.221.2/tests/ui/foreign-deps-union/root.wit
wasmtime-27.0.0 ./ext/cargo-vendor/wit-parser-0.219.1/tests/ui/foreign-deps-union/root.wit
wasmtime-26.0.0 ./ext/cargo-vendor/wit-parser-0.218.0/tests/ui/foreign-deps-union/root.wit
wasmtime-25.0.2 ./ext/cargo-vendor/wit-parser-0.217.0/tests/ui/foreign-deps-union/root.wit
wasmtime-25.0.1 ./ext/cargo-vendor/wit-parser-0.217.0/tests/ui/foreign-deps-union/root.wit
wasmtime-25.0.0 ./ext/cargo-vendor/wit-parser-0.217.0/tests/ui/foreign-deps-union/root.wit
wasmtime-24.0.0 ./ext/cargo-vendor/wit-parser-0.215.0/tests/ui/foreign-deps-union/root.wit
wasmtime-23.0.2 ./ext/cargo-vendor/wit-parser-0.212.0/tests/ui/foreign-deps-union/root.wit
wasmtime-22.0.0 ./ext/cargo-vendor/wit-parser-0.209.1/tests/ui/foreign-deps-union/root.wit
wasmtime-21.0.1 ./ext/cargo-vendor/wit-parser-0.207.0/tests/ui/foreign-deps-union/root.wit
wasmtime-20.0.2 ./ext/cargo-vendor/wit-parser-0.202.0/tests/ui/foreign-deps-union/root.wit
wasmtime-20.0.0 ./ext/cargo-vendor/wit-parser-0.202.0/tests/ui/foreign-deps-union/root.wit
wasmtime-18.0.3 ./ext/cargo-vendor/wit-parser-0.13.2/tests/ui/foreign-deps-union/root.wit
wasmtime-17.0.1 ./ext/cargo-vendor/wit-parser-0.13.0/tests/ui/foreign-deps-union/root.wit
wasmtime-17.0.0 ./ext/cargo-vendor/wit-parser-0.13.0/tests/ui/foreign-deps-union/root.wit
wasmtime-16.0.0 ./ext/cargo-vendor/wit-parser-0.13.0/tests/ui/foreign-deps-union/root.wit
wasmtime-15.0.1 ./ext/cargo-vendor/wit-parser-0.13.0/tests/ui/foreign-deps-union/root.wit
wasmtime-15.0.0 ./ext/cargo-vendor/wit-parser-0.13.0/tests/ui/foreign-deps-union/root.wit
wasmtime-14.0.4 ./ext/cargo-vendor/wit-parser-0.12.1/tests/ui/foreign-deps-union/root.wit