wit-bindgen
wit-bindgen copied to clipboard
A language binding generator for WebAssembly interface types
*This issue was originally encountered using `wasmtime::bindgen`, but I'm posting this here since I think it likely impacts all bindings generators.* Currently, bindings are generated for the package that contains...
Consider this wit ```wit package litehouse:plugin; interface plugin { variant update { time(u64), temperature(float64), wind-speed(float64), current(float64), voltage(u16), power(u16), on-off(bool), } } world plugin-host { use plugin.{update}; import send-update: func(nickname: string,...
## Repro steps 1. `git clone [email protected]:peterhuene/wit-bindgen-repro.git` ([repository link](https://github.com/peterhuene/wit-bindgen-repro)) 2. `cd wit-bindgen-repro` 3. `cargo build` ## Expected results A successful build. ## Actual results ``` error[E0308]: mismatched types --> src/lib.rs:1:1...
In order to more structurally work around code formatting issues like those described in https://github.com/bytecodealliance/wit-bindgen/pull/878, we should consider switching from `cargo fmt` to Dtolnay's [`prettyplease`](https://docs.rs/prettyplease/latest/prettyplease/) crate. This crate was designed...
# Relicensing `wit-bindgen` Hello everyone! This issue is here to serve as a checklist for relicensing the `wit-bindgen` repository and all crates that it contains. * **Before**: `Apache-2.0 WITH LLVM-exception`...
In my experience, it is currently really difficult to get the complete, fully resolved name of a function or type. This is especially annoying when one needs not just the...
Update the build to get things working with the latest mono net9 targets
A nice addition would be to add support for the [MoonBit programming language](https://www.moonbitlang.com/). I would like to support this effort if possible with the understanding that my Rust skills are...