Skip to content

Commit 728ea90

Browse files
authored
Merge pull request #30 from asteurer/test-update
chore: update wit-bindgen-go version and update docs
2 parents 5c9ab9a + 16efeeb commit 728ea90

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ anyhow = { workspace = true}
3838
clap = { version = "4.5.60", features = ["derive"] }
3939
regex = "1.12.3"
4040
wat = { version = "1.245.1"}
41-
wit-bindgen-go = { git = "https://github.com/bytecodealliance/wit-bindgen", rev = "ff9543d42d0d7e56ed529e03dc2f7cc02db6c141" }
41+
wit-bindgen-go = { git = "https://github.com/bytecodealliance/wit-bindgen", rev = "3ee9fe20a5bce398360d5d291e81a4224a6d7c76" }
4242
wit-component = "0.245.1"
4343
wit-parser = "0.245.1"

examples/wasip2/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,10 @@ curl localhost:8080
2121
### Run unit tests
2222

2323
```sh
24+
# Method 1: compile the tests into wasm modules and run them with wasmtime
2425
make run-tests
26+
27+
# Method 2: run the tests directly with `go test`
28+
make generate-bindings
29+
go test ./unit_tests_should_pass ./unit_tests_should_fail
2530
```

0 commit comments

Comments
 (0)