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

Currently, `wit-bindgen` generates the custom section name using the format "component-type:{world_name}". This can lead to issues when linking separately-compiled code together, each containing code built from `wit-bindgen` code using the...

for example, ``` package foo:bar; interface hoge { variant v1 { a(u32), } set1: func(v: v1); get1: func() -> v1; variant v2 { a(u32), b(string), } set2: func(v: v2); get2:...

gen-rust

Fuzz testing is testing mechanism that involves providing pseudo-random data as input into the generators to find correctness issues. There are multiple Bytecode Alliance projects that heavily leverage fuzz testing...

help wanted

There seems to be some issue with `wit_bindgen::generate!`'s output failing to refresh under some circumstance. This is mostly a placeholder for people to report problems as I haven't seen this...

I would like to initiate a new tracking issue to categorize all the necessary steps in improving the Go bindgen experience. These steps will be divided into three categories: short-term,...

gen-tinygo

In `tests/codegen/resource-alias.wit`, we generate handle types for each alias. ```C typedef exports_my_resources_e1_own_x_t exports_my_resources_e2_own_x_t; typedef exports_my_resources_e1_borrow_x_t exports_my_resources_e2_borrow_x_t; ``` However, we only generate helper functions for `e1`, not for `e2`. ```C extern...

gen-c

I have a handle to a huge tensor (`GTensor`) on the gpu, the size is u64(ptr) + u64(len). I hope that all other operations will use its reference (`GView`), and...

Moved from https://github.com/WebAssembly/wasi-tools/issues/17; the "tool" mentioned here is `wit-abi`: Looking at the Markdown/HTML produced for wasi-nn, this tool seems to confuse the Markdown parser whether it should convert several lines...

I am raising this issue to create a place for discussing various ways we can improve the ergonomics of the Go bindings. When I was writing the `wit-bindgen-go` crate, I...

gen-tinygo

If I implement the export of a resource in Rust, and there is a method which takes an owned handle to this resource, the method implementation gets an `Own{my-resource-name}` passed...