Fix wiggle tests

This commit is contained in:
Alex Crichton
2021-02-17 13:42:41 -08:00
committed by Andrew Brown
parent df9c725fa0
commit fa98f0bc91
31 changed files with 236 additions and 239 deletions

View File

@@ -1,18 +1,13 @@
(use "errno.witx")
(typename $cookie
(int u64
(const $start 0)))
(typename $cookie u64)
(@witx const $cookie $start 0)
(typename $bool
(enum u8
$false
$true))
(typename $bool bool)
(module $ints
(@interface func (export "cookie_cutter")
(param $init_cookie $cookie)
(result $error $errno)
(result $is_start $bool)
(result $error (expected $bool (error $errno)))
)
)