Sha256: f3bbe674aa8174cc60428483638c443453504b5b31d1a56367b968a05d8b14ff

Contents?: true

Size: 1.27 KB

Versions: 13

Compression:

Stored size: 1.27 KB

Contents

package foo:types;

interface types {
  type t1 = u8;
  type t2 = u16;
  type t3 = u32;
  type t4 = u64;
  type t5 = s8;
  type t6 = s16;
  type t7 = s32;
  type t8 = s64;
  type t9a = f32;
  type t9b = f32;
  type t10a = f64;
  type t10b = f64;
  type t11 = char;
  type t12 = list<char>;
  type t13 = string;
  type t14 = option<u32>;
  type t15 = result<u32, u32>;
  type t16 = result<_, u32>;
  type t17 = result<u32>;
  type t18 = result;
  record t20 {}
  record t21 { a: u32 }
  record t22 { a: u32, }
  record t23 { a: u32, b: u64 }
  record t24 { a: u32, b: u64, }
  record t25 { x: u32 }
  record %record {}
  type t26 = tuple<>;
  type t27 = tuple<u32>;
  type t28 = tuple<u32,>;
  type t29 = tuple<u32, u64>;
  flags t30 {}
  flags t31 { a, b, c }
  flags t32 { a, b, c, }
  variant t33 { a }
  variant t34 { a, b }
  variant t35 { a, b, }
  variant t36 { a, b(u32), }
  variant t37 { a, b(option<u32>), }
  enum t41 { a, b, c }
  enum t42 { a, b, c, }
  type t43 = bool;
  type t44 = string;
  type t45 = list<list<list<t32>>>;
  type t46 = t44;
  type t47 = %t44;
  type t48 = stream<u32, u32>;
  type t49 = stream<_, u32>;
  type t50 = stream<u32>;
  type t51 = stream;
  type t52 = future<u32>;
  type t53 = future;

  /// type order doesn't matter
  type foo = bar;
  type bar = u32;
}

Version data entries

13 entries across 13 versions & 1 rubygems

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