Skip to content

Commit

Permalink
Update to wit-bindgen 0.36. (#98)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
sunfishcode authored Nov 27, 2024
1 parent 1fe2eea commit 4b740ff
Show file tree
Hide file tree
Showing 5 changed files with 170 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ jobs:
run: |
./ci/vendor-wit.sh
git diff --exit-code
- run: cargo install wit-bindgen-cli@0.33.0 --locked
- run: cargo install wit-bindgen-cli@0.36.0 --locked
- run: ./ci/regenerate.sh
- run: git diff --exit-code
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ wasi = { version = "0.13", path = ".", default-features = false }
members = ["./crates/*"]

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

# When built as part of libstd
compiler_builtins = { version = "0.1", optional = true }
Expand Down
107 changes: 97 additions & 10 deletions src/bindings.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 43 additions & 8 deletions src/command.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4b740ff

Please sign in to comment.