Skip to content

Commit 4b740ff

Browse files
authored
Update to wit-bindgen 0.36. (#98)
* Update to wit-bindgen 0.36. The main change here is that the Rust modules now include the WIT interface documentation as documentation comments, so that they show up in the cargo doc documentation. * Update CI to wit-bindgen 0.36 too.
1 parent 1fe2eea commit 4b740ff

File tree

5 files changed

+170
-27
lines changed

5 files changed

+170
-27
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@ jobs:
7272
run: |
7373
./ci/vendor-wit.sh
7474
git diff --exit-code
75-
- run: cargo install wit-bindgen-cli@0.33.0 --locked
75+
- run: cargo install wit-bindgen-cli@0.36.0 --locked
7676
- run: ./ci/regenerate.sh
7777
- run: git diff --exit-code

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ wasi = { version = "0.13", path = ".", default-features = false }
2424
members = ["./crates/*"]
2525

2626
[dependencies]
27-
wit-bindgen-rt = { version = "0.33.0", features = ["bitflags"] }
27+
wit-bindgen-rt = { version = "0.36.0", features = ["bitflags"] }
2828

2929
# When built as part of libstd
3030
compiler_builtins = { version = "0.1", optional = true }

src/bindings.rs

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

src/command.rs

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

0 commit comments

Comments
 (0)