Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

315 B
Raw Blame
(typename $union
  (enum (@witx tag u8)
    $self
    $power
  )
)

(typename $self
  (variant (@witx tag $union)
    ;; A union variant that will expand to a strict keyword `Self`.
    (case $self (@witx pointer f32))
    ;; Oh it's true, that there's power in a union!
    (case $power (@witx pointer f32))
  )
)