bytecodealliance / wasi-nn

High-level bindings for wasi-nn system calls
Apache License 2.0
44 stars 33 forks source link

Auto gen witx #22

Open brianjjones opened 3 years ago

brianjjones commented 3 years ago

Look at using https://github.com/jedisct1/witx-codegen to automatically generate headers. Including setting up tests and such.

abrown commented 3 years ago

Also, could be done with https://docs.rs/witx-bindgen/0.1.0/witx_bindgen/fn.generate.html.

Michael-F-Bryan commented 2 years ago

Note that witx-bindgen is no longer able to parse the WITX files from the WASI NN repository (https://github.com/bytecodealliance/witx-bindgen/issues/85).