wit-bindgen icon indicating copy to clipboard operation
wit-bindgen copied to clipboard

A language binding generator for WebAssembly interface types

Results 226 wit-bindgen issues
Sort by recently updated
recently updated
newest added

1. Update the dependencies 2. Change the [tag definition implementation to the new api](https://github.com/JADSN1894/wit-bindgen/blob/0327b32ed25ea645681605cccef1c255e709f388/crates/markdown/src/lib.rs#L212)

I know there are two supported ways of generating Rust bindings - `generate!` macro and `wit-bindgen` CLI. When using the macro, I find myself regularly restarting `rust-analyzer` after every change...

gen-rust

This might not be a huge issue, but probably worth pointing out anyway. Given the following wit: ```wit package my-namespace:my-package; interface my-interface { type my-type = u32; record my-record {...

This input: ```rust wit_bindgen::generate!({ inline: r#" package a:b; world w { use t.{r}; export f: func(p: stream); } interface t { record r { x: u32, } } "#, });...

gen-rust
async

This: ```rust wit_bindgen::generate!({ inline: r#" package a:b; world w { import i; export i; } interface i { use t.{r}; f: func(p: stream); } interface t { record r {...

gen-rust
async

While we could go with exactly the choices made for async c bindgen, I'd like to sketch a C++ native solution. C++20 introduces [coroutines](https://en.cppreference.com/w/cpp/language/coroutines.html) which are a much closer fit...

gen-cpp

### Summary The C code generator in wit-bindgen panics with "duplicate symbols" error when processing valid WIT files that contain function names differing only in case. ### Environment - **wit-bindgen...

gen-c

Consider the following WIT file: ``` package test:component; interface i { resource r; enum kind { a, b, c } f: func(k: kind) -> r; } // wrapped-i is exactly...

gen-rust

### Summary wit-bindgen panics when processing WIT files that contain type aliases to resource handles (e.g., `type my-handle = own`). ### Environment - **wit-bindgen version**: 0.47.0 - **Affected component:** wit-bindgen-core...

gen-rust

### Summary wit-bindgen panics with "assertion failed: sig.retptr" when generating bindings for a WIT world that exports a function returning `error-context`. ### Environment - **wit-bindgen version**: 0.47.0 - **Affected generator**:...