Sha256: b78144acdea1168381756ab1a3b7bdb2b23be5de4f3db78139c04893b85d373e

Contents?: true

Size: 815 Bytes

Versions: 23

Compression:

Stored size: 815 Bytes

Contents

// hello 🐱 world
package foo:foo;

interface conventions {
  kebab-case: func();

  record ludicrous-speed {
    how-fast-are-you-going: u32,
    i-am-going-extremely-slow: u64,
  }

  foo: func(x: ludicrous-speed);
  %function-with-dashes: func();
  %function-with-no-weird-characters: func();

  apple: func();
  apple-pear: func();
  apple-pear-grape: func();
  a0: func();

  // Comment out identifiers that collide when mapped to snake_case, for now; see
  // https://github.com/WebAssembly/component-model/issues/118
  //APPLE: func()
  //APPLE-pear-GRAPE: func()
  //apple-PEAR-grape: func()

  is-XML: func();

  %explicit: func();
  %explicit-kebab: func();

  // Identifiers with the same name as keywords are quoted.
  %bool: func();
}

world the-world {
  import conventions;
  export conventions;
}

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/wasmtime-component-macro-29.0.0/tests/codegen/conventions.wit
wasmtime-28.0.0 ./ext/cargo-vendor/wasmtime-component-macro-28.0.0/tests/codegen/conventions.wit
wasmtime-27.0.0 ./ext/cargo-vendor/wasmtime-component-macro-27.0.0/tests/codegen/conventions.wit
wasmtime-26.0.0 ./ext/cargo-vendor/wasmtime-component-macro-26.0.0/tests/codegen/conventions.wit
wasmtime-25.0.2 ./ext/cargo-vendor/wasmtime-component-macro-25.0.2/tests/codegen/conventions.wit
wasmtime-25.0.1 ./ext/cargo-vendor/wasmtime-component-macro-25.0.1/tests/codegen/conventions.wit
wasmtime-25.0.0 ./ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/codegen/conventions.wit
wasmtime-24.0.0 ./ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/codegen/conventions.wit
wasmtime-23.0.2 ./ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/codegen/conventions.wit
wasmtime-22.0.0 ./ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/codegen/conventions.wit
wasmtime-21.0.1 ./ext/cargo-vendor/wasmtime-component-macro-21.0.1/tests/codegen/conventions.wit
wasmtime-20.0.2 ./ext/cargo-vendor/wasmtime-component-macro-20.0.2/tests/codegen/conventions.wit
wasmtime-20.0.0 ./ext/cargo-vendor/wasmtime-component-macro-20.0.0/tests/codegen/conventions.wit
wasmtime-18.0.3 ./ext/cargo-vendor/wasmtime-component-macro-18.0.3/tests/codegen/conventions.wit
wasmtime-17.0.1 ./ext/cargo-vendor/wasmtime-component-macro-17.0.1/tests/codegen/conventions.wit
wasmtime-17.0.0 ./ext/cargo-vendor/wasmtime-component-macro-17.0.0/tests/codegen/conventions.wit
wasmtime-16.0.0 ./ext/cargo-vendor/wasmtime-component-macro-16.0.0/tests/codegen/conventions.wit
wasmtime-15.0.1 ./ext/cargo-vendor/wasmtime-component-macro-15.0.1/tests/codegen/conventions.wit
wasmtime-15.0.0 ./ext/cargo-vendor/wasmtime-component-macro-15.0.0/tests/codegen/conventions.wit
wasmtime-14.0.4 ./ext/cargo-vendor/wasmtime-component-macro-14.0.4/tests/codegen/conventions.wit