If I want to use modifications to wasi-nn in ephemeral, how would I do that in Wasmtime? I've changed crates/wasi-common/WASI to point to my wasi-nn repo, which has the changes I need to the witx files but it seems like only the snapshot previews are wired up. What I mean is: the WasiSnapshotPreview1 trait is being generated somewhere (where?) and implemented in crates/wasi-common/src/snapshots/wasi_snapshot_preview1.rs--what would it take to do something similar for WasiEphemeral?
Also, do we even want to do that or should changes be made to the snapshots as Radu does here.
cc: @Pat Hickey, @Dan Gohman
(I’m on vacation this week) That beginners guide is great but the wiggle-wasmtime crate subsumes the functionality for connecting wiggle to the wasmtime Linker
Last updated: Dec 06 2025 at 06:05 UTC