import some other helpers from pat's crate

* parse the proc macro argument into a file path
* use a much simpler witx spec by default
This commit is contained in:
Pat Hickey
2020-01-17 15:48:51 -08:00
parent 0d47556cf7
commit 4c7b3e8685
7 changed files with 65 additions and 14 deletions

13
test.witx Normal file
View File

@@ -0,0 +1,13 @@
(typename $errno
(enum u32
$dont_want_to
$physically_unable
$picket_line))
(module $foo
(@interface func (export "bar")
(param $name string)
(result $error $errno))
)