Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rust gen to use .wit spec #97

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Apr 10, 2024

  1. Update Rust gen to use .wit spec

    This commit updates the regeneration script for the Rust bindings to
    use `wasi-nn.wit` types instead of `wasi-nn.witx`.
    
    The scripts has also been run and the bindings (src/generated.rs) have
    been updated.
    
    This example currently compiles but fails at runtime because the version
    of the wasi-nn spec that wasmtime is using is not the latest. Once it
    has been updated this example should work (I've tested it with the
    version that wasmtime is currently on and it works but that requires
    changes to the examples in this repository).
    
    Signed-off-by: Daniel Bevenius <[email protected]>
    danbev committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    1dcf31a View commit details
    Browse the repository at this point in the history