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

```wit package repro:pkg; world example { resource repro { constructor(); handle: func(); } } ``` generates two conflicting `Repro::handle` methods; one `#[doc(hidden)]` internal method and the actual resource method. Same...

Tracking issue arising from: https://github.com/bytecodealliance/wit-bindgen/issues/201

I'd like to use `wit-bindgen` to generate Rust bindings for `wasi:cli/[email protected]`, but I'm confused about the semantics of the `use` statement from within a dependency, and would like to at...

The pattern where the user code needs to correctly guess type of the `ex.Value` is fragile. ``` catch (WitException e) { var error = HeaderErrorToString((HeaderError)e.Value); throw new HttpRequestException($"Header validation error:...

So that the project could extend the types in other files, which are not re-generated. See https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/partial-classes-and-methods cc @dicej @jsturtevant

gen-c#

Implements https://github.com/bytecodealliance/wit-bindgen/issues/826 - [X] Implement tests - [X] Fix variant - [X] Fix results test - [ ] Improve resource handling - [ ] WASI 0.3: async, stream, future -...

While discussing the design of WIT it has occasionally been suggested that certain things should be discouraged without being forbidden. Some examples: - Referencing a `@deprecated` type - Using deprecated...

The support for `spawn` is not integrated with the C ABI changes from https://github.com/bytecodealliance/wit-bindgen/pull/1254 meaning that it can lead to seemingly broken situations where if there's an import/export version mismatch...

gen-rust
async

This nudge would have saved me some time in trying to figure out how to share .wit interfaces between components in a monorepo.

The `stream` type in WIT (note no type parameter) is modeled in Rust as `StreamReader`. This takes a `Vec` to read into but the capacity of `Vec` is always `usize::MAX`....

gen-rust
async