wasm-tools-go
wasm-tools-go copied to clipboard
WebAssembly + Component Model tools for Go
This commit adds a `--version` flag to `wit-bindgen-go` cmd. It includes the version number, the git revision, and an indicator of dirty commit.
The current generated bindings use wasip2 as the build tag. This pins the generated bindings to the tinygo compiler targeting wasip2. Using the wasm component from tiny go with runtime...
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.23.0 to 0.24.0. Commits 3057be8 go.mod: update golang.org/x dependencies 4653e48 gopls/internal/analysis: add skipped analysis simplify on generated code f855a53 gopls/internal/telemetry/cmd/stacks: use authentication token 3ffd605 gopls/doc/features: fix prominent...
For exported (`go:wasmexport`) functions, the [Canonical ABI](https://github.com/WebAssembly/component-model/blob/main/design/mvp/CanonicalABI.md#canon-lift) specifies an *optional* post-return function, which is exposed to the WebAssembly host as: ``` cabi_post_ + original function name ``` The purpose of...
In order to support `wasm64`, with 64-bit wide pointers, we need to relax the constraint in the Component Model and Canonical ABI that pointer types fit in 32 bits. Ideally...
Related to WebAssembly/component-model#370, the Go code generation for `flags` types currently supports flags with 64 labels, with appropriate bindings generation for `flags` types that won’t fit in a single integer...