Sha256: 24ca717c100bf477efad53c5adb207f88bf33e7c0ea07ec4d485cb86b8da996b

Contents?: true

Size: 465 Bytes

Versions: 38

Compression:

Stored size: 465 Bytes

Contents

(type T (primitive T))
(type U (primitive U))
(type V (primitive V))

(convert T U t_to_u)

(type Result (enum (T (u U) (v V))))

;; Use the implicit converter before the underlying constructor is
;; declared (below). Also use one of the conversions before it is
;; declared (below).
(decl entry (T) Result)
(rule (entry t)
      (Result.T t t))

(convert T V t_to_v)

(decl t_to_u (T) U)
(extern constructor t_to_u t_to_u)

(decl t_to_v (T) V)
(rule (t_to_v _) 0)

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/cranelift-isle-0.116.0/isle_examples/pass/conversions_extern.isle
wasmtime-28.0.0 ./ext/cargo-vendor/cranelift-isle-0.115.0/isle_examples/pass/conversions_extern.isle
wasmtime-27.0.0 ./ext/cargo-vendor/cranelift-isle-0.114.0/isle_examples/pass/conversions_extern.isle
wasmtime-26.0.0 ./ext/cargo-vendor/cranelift-isle-0.113.0/isle_examples/pass/conversions_extern.isle
wasmtime-25.0.2 ./ext/cargo-vendor/cranelift-isle-0.112.2/isle_examples/pass/conversions_extern.isle
wasmtime-25.0.1 ./ext/cargo-vendor/cranelift-isle-0.112.1/isle_examples/pass/conversions_extern.isle
wasmtime-25.0.0 ./ext/cargo-vendor/cranelift-isle-0.112.0/isle_examples/pass/conversions_extern.isle
wasmtime-24.0.0 ./ext/cargo-vendor/cranelift-isle-0.111.0/isle_examples/pass/conversions_extern.isle
wasmtime-23.0.2 ./ext/cargo-vendor/cranelift-isle-0.110.2/isle_examples/pass/conversions_extern.isle
wasmtime-22.0.0 ./ext/cargo-vendor/cranelift-isle-0.109.0/isle_examples/pass/conversions_extern.isle
wasmtime-21.0.1 ./ext/cargo-vendor/cranelift-isle-0.108.1/isle_examples/pass/conversions_extern.isle
wasmtime-20.0.2 ./ext/cargo-vendor/cranelift-isle-0.107.2/isle_examples/pass/conversions_extern.isle
wasmtime-20.0.0 ./ext/cargo-vendor/cranelift-isle-0.107.2/isle_examples/pass/conversions_extern.isle
wasmtime-18.0.3 ./ext/cargo-vendor/cranelift-isle-0.105.3/isle_examples/pass/conversions_extern.isle
wasmtime-17.0.1 ./ext/cargo-vendor/cranelift-isle-0.104.1/isle_examples/pass/conversions_extern.isle
wasmtime-17.0.0 ./ext/cargo-vendor/cranelift-isle-0.104.0/isle_examples/pass/conversions_extern.isle
wasmtime-16.0.0 ./ext/cargo-vendor/cranelift-isle-0.103.0/isle_examples/pass/conversions_extern.isle
wasmtime-15.0.1 ./ext/cargo-vendor/cranelift-isle-0.102.1/isle_examples/pass/conversions_extern.isle
wasmtime-15.0.0 ./ext/cargo-vendor/cranelift-isle-0.102.1/isle_examples/pass/conversions_extern.isle
wasmtime-14.0.4 ./ext/cargo-vendor/cranelift-isle-0.101.4/isle_examples/pass/conversions_extern.isle