Sha256: 811490702e08b5d6bff42533f419191b019097581919d3cf2851f25c91a5916b

Contents?: true

Size: 513 Bytes

Versions: 3

Compression:

Stored size: 513 Bytes

Contents

package foo:bar

interface foo {
  resource a {
  }

  resource b {
    constructor()
  }

  resource c {
    constructor(x: u32)
  }

  resource d {
    constructor(x: u32)

    a: func()

    b: static func()
  }

  resource e {
    constructor(other: own<e>, other2: borrow<e>)

    method: func(thing: own<e>, thing2: borrow<e>)
  }
}

world w {
  resource a

  resource b {
  }

  resource c {
    constructor()
  }
}

interface i {
  resource a

  type t1 = a
  type t2 = borrow<a>
  type t3 = borrow<t1>
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wasmtime-13.0.0 ./ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources.wit
wasmtime-12.0.1 ./ext/cargo-vendor/wit-parser-0.9.2/tests/ui/resources.wit
wasmtime-12.0.0 ./ext/cargo-vendor/wit-parser-0.9.2/tests/ui/resources.wit