From 16efeeb3f249a2a05bb284cd30b0c3c023c12a12 Mon Sep 17 00:00:00 2001 From: Andrew Steurer <94206073+asteurer@users.noreply.github.com> Date: Thu, 5 Mar 2026 16:58:05 -0600 Subject: [PATCH] chore: update wit-bindgen-go version and update docs Signed-off-by: Andrew Steurer <94206073+asteurer@users.noreply.github.com> --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- examples/wasip2/README.md | 5 +++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c83689e..963710b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2080,7 +2080,7 @@ checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" [[package]] name = "wit-bindgen-core" version = "0.53.1" -source = "git+https://github.com/bytecodealliance/wit-bindgen?rev=ff9543d42d0d7e56ed529e03dc2f7cc02db6c141#ff9543d42d0d7e56ed529e03dc2f7cc02db6c141" +source = "git+https://github.com/bytecodealliance/wit-bindgen?rev=3ee9fe20a5bce398360d5d291e81a4224a6d7c76#3ee9fe20a5bce398360d5d291e81a4224a6d7c76" dependencies = [ "anyhow", "heck", @@ -2090,7 +2090,7 @@ dependencies = [ [[package]] name = "wit-bindgen-go" version = "0.53.1" -source = "git+https://github.com/bytecodealliance/wit-bindgen?rev=ff9543d42d0d7e56ed529e03dc2f7cc02db6c141#ff9543d42d0d7e56ed529e03dc2f7cc02db6c141" +source = "git+https://github.com/bytecodealliance/wit-bindgen?rev=3ee9fe20a5bce398360d5d291e81a4224a6d7c76#3ee9fe20a5bce398360d5d291e81a4224a6d7c76" dependencies = [ "anyhow", "heck", diff --git a/Cargo.toml b/Cargo.toml index 7c0e9ee..5c03e24 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,6 +38,6 @@ anyhow = { workspace = true} clap = { version = "4.5.60", features = ["derive"] } regex = "1.12.3" wat = { version = "1.245.1"} -wit-bindgen-go = { git = "https://github.com/bytecodealliance/wit-bindgen", rev = "ff9543d42d0d7e56ed529e03dc2f7cc02db6c141" } +wit-bindgen-go = { git = "https://github.com/bytecodealliance/wit-bindgen", rev = "3ee9fe20a5bce398360d5d291e81a4224a6d7c76" } wit-component = "0.245.1" wit-parser = "0.245.1" diff --git a/examples/wasip2/README.md b/examples/wasip2/README.md index d88d800..e7af438 100644 --- a/examples/wasip2/README.md +++ b/examples/wasip2/README.md @@ -21,5 +21,10 @@ curl localhost:8080 ### Run unit tests ```sh +# Method 1: compile the tests into wasm modules and run them with wasmtime make run-tests + +# Method 2: run the tests directly with `go test` +make generate-bindings +go test ./unit_tests_should_pass ./unit_tests_should_fail ```