You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.github/workflows: remove some (now) unneeded steps
.gitignore: condense internal/wasmtools/.gitignore
internal/wasmtools: use single quotes, add Rust edition
Makefile: update order of wasm-tools.wasm.\* targets)
internal/wasmtools: use gzipped wasm-tools.wasm.gz with sync.Once
internal/wasmtools: rebuild wasm-tools.wasm.gz
CHANGELOG: wordsmith the wasm-tools and Wazero update
internal/wasmtools, wit: remove optional name arg
Removing this did not seem to affect tests.
internal/wasmtools: leave timeout to the caller
Makefile: reorder gzip targets
internal/wasmtools: oops
Makefile: next try
wit: remove check for wasm-tools in PATH
internal/wasmtools, wit: swap key and value types for fsMap
Not all fs.FS are hashable, but all strings are, so use map[string]fs.FS instead.
wit/bindgen: use internal/wasmtools to run wasm-tools in WebAssembly
internal/wasmtools: use wazero.CompilationCache
This speeds up wit/bindgen tests 10x
internal/wasmtools: fix TinyGo impl
internal/wasmtools: remove Runner interface
This wasn’t used anywhere, so removing.
internal/wasmtools: change Run() to accept optional stdout and stderr
internal/wasmtools: move args to varadic trailing arg in Run
wit: (*testing.common).Errorf does not support error-wrapping directive %w
internal/wasmtools, wit/bindgen: additional cleanups for TinyGo and WASI
.github/workflows/test: TinyGo needs wasm-tools for -target=wasip2
.github/dependabot: add internal/wasmtools for Cargo updates
cmd/wit-bindgen-go, internal/{module,witcli}: extract module helper into new package
internal/wasmtools: try to use disk-based compilation cache in TMPDIR
internal/cmd/wasm-tools: add Wazero-based wasm-tools executable
This removes the requirement for wasmtime in the Makefile
Makefile: use Wazero-based internal/cmd/wasm-tools executable instead of Wasmtime
.github/workflows/test: ignore all Markdown files
internal/wasmtools: rebuild wasm-tools.wasm.gz
internal/{cmd/wasm-tools,wasmtools}, wit: default mapping of ./ and / directories
.github/workflows: install wasm wrapped in Go version of wasm-tools
all: revert 26c1e72; Wazero directory handling tricky to manage
Wazero flattens ./ into '', which is treated as /, overriding the / mapping.
Makefile: just use wasm-tools
It’s faster, and works with arbitrary paths.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
7
7
### Added
8
8
9
-
-`internal/wasmtools` now loads compiled `wasm-tools` Wasm module from the `wasm-tools` crate and executes it using wazero. This allows `wit-bindgen-go` to run on any platform without needing to install `wasm-tools` natively.
9
+
-[`wasm-tools`](https://crates.io/crates/wasm-tools) is now vendored as a WebAssembly module, executed using [Wazero](https://wazero.io/). This allows package `wit` and `wit-bindgen-go` to run on any supported platform without needing to separately install `wasm-tools`.
0 commit comments