wit-bindgen
wit-bindgen copied to clipboard
A language binding generator for WebAssembly interface types
Now that https://github.com/WebAssembly/component-model/pull/69 landed, I'm planning to update wit-bindgen to parse this new syntax. cc @sunfishcode and @lukewagner
I suspect this won't generally be possible until #292 is resolved, but worth asking anyway: I have a Rust guest and a Rust/wasmtime host. I'd like to import functionality from...
Right now, if you generate Rust-import, you get this: ```rust #[allow(clippy::all)] mod input { ``` If you generate wasmtime-import, you get this: ```rust #[allow(clippy::all)] pub mod input { ``` Ideally,...
Generated bindings files should indicate that they are generated with an auto-generated DO NOT EDIT comment at top of the file. This is not needed for Rust, but any language...
If I have a `common.wit`: ```wit record entity-id { namespace: u8, id: u64, gen: s32, } record vec3 { x: float32, y: float32, z: float32, } ``` and an `entity.wit`:...
Hello again! I have two types: ```wit record entity-id { namespace: u8, id: u64, gen: s32, } enum event-type { game-start, frame, player-spawn, } ``` For the former, I'd like...
When generating a c binding and including it in a C++ project, there is an error and a warning. Are there any plans or desire to add a C++ generator?...
i want to adapt https://github.com/bytecodealliance/wasmtime/tree/main/crates/wasi-nn to the wit version of the spec. if i add the following to the dependencies in Cargo.toml, ``` wit-bindgen-wasmtime = { git = "https://github.com/bytecodealliance/wit-bindgen", rev...