Sha256: 9ca3637ac08711f61e02e623d2a0592f402b92a8cfd62eb2de41fbe9c4e0af2e

Contents?: true

Size: 831 Bytes

Versions: 1

Compression:

Stored size: 831 Bytes

Contents

// hello 🐱 world

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 imports: conventions
  export exports: conventions
  default export conventions
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wasmtime-5.0.0 ./ext/cargo-vendor/wasmtime-component-macro-5.0.0/tests/codegen/conventions.wit