bytecodealliance / wasi-nn

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

Switch to WIT #64

Open abrown opened 2 years ago

abrown commented 2 years ago

The wasi-nn specification has been ported over from the old WITX syntax to the new WIT syntax (see https://github.com/WebAssembly/wasi-nn/pull/17). This repository should switch over to using WIT-based tooling. I see a couple of ways this could work: a. we replace the generated bindings in this repository with bindings generated by wit-bindgen b. we remove the generated bindings in this repository and instead document how to use wit-bindgen-rust and the import! macro to write code that uses the wasi-nn interface.

abrown commented 2 years ago

cc: @brianjjones