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

Unlike the C and Rust code generators, the Go code generator does not seem to embed the wit-bindgen version in the producer custom section in the "processed-by" field. The field...

gen-tinygo

Per the discussion [here](https://github.com/WebAssembly/component-model/issues/125), it appears that a `list` is the wit equivalent of a python dictionary or more specifically for my use case, a go map. If wit isn't...

gen-tinygo

What is the advised way to run rust unit test within the same crate where generate is used? Currently there is no easy way to circumvent the external link when...

AssemblyScript is a TypeScript-like language which compiles to WASM. I think it looks nice and easy to pickup so for existing devs to start writing WASM modules which could be...

As a way to enable more experimentation with the developer-facing side of resources, I propose we add support for parsing `resource` declarations and simple `handle` types, and implement them in...

# What I want to do Hi, I am newer to wit-bindgen. I want to define an API for wasm module and the host, then, the wasm module can run...

Crates using `generate!` with paths leading outside the crate boundary cannot be dependent upon in `cargo vendor` use cases. E.g. see https://github.com/rvolosatovs/wasi-vendor-repro for a reproducer Refs https://github.com/bytecodealliance/preview2-prototyping/issues/133 A draft PR...

I have a `wit` directory with multiple worlds defined in it. Each world consists of a composition of import statements, which import interfaces. Now in my host code (Rust) I...

[Zig](https://github.com/ziglang/zig/) is a great source language, and shows Wasm a lot of love in [many](https://ziglang.org/documentation/master/#WebAssembly) different [ways](https://ziglang.org/news/goodbye-cpp/). I'd like to be able to use seperately-compiled Wasm components in Zig, so...