Update wit-bindgen from 0.51 to 0.57#103
Merged
Merged
Conversation
Bumps the guest-side wit-bindgen codegen crates (wit-bindgen-core and wit-bindgen-rust) to the latest 0.57.1. wit-bindgen-rt is left at 0.44.0, which is already its latest stable release. The only API break is WorldGenerator::generate now taking &mut Resolve; durable-bindgen is updated accordingly. The regenerated bindings differ only cosmetically: core::error::Error in place of std::error::Error, an identity From wrap around Vec::from_raw_parts, and updated producer version strings. https://claude.ai/code/session_01E8WGJMBb3LysnVrio2ZeA8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps the guest-side
wit-bindgencodegen crates to the latest0.57.1. This is independent toolchain maintenance, split out from the wasmtime 42→45 upgrade (#102) to keep each change single-purpose and bisectable.Changes
wit-bindgen-core/wit-bindgen-rust: 0.51.0 → 0.57.1wit-bindgen-rt: left at 0.44.0 (already its latest stable release; it tracks a separate version line)durable-bindgen:WorldGenerator::generatenow takes&mut Resolveinstead of&Resolvebindings.rsfordurable-core,durable-http, anddurable-sqlxBindings diff is benign
The regenerated bindings differ only cosmetically:
std::error::Error→::core::error::Error(no_std-friendly)Vec::from_raw_parts(...)wrapped in an identity<_ as From<Vec<_>>>::from(...)(codegen generalization, functionally identical)wit-bindgen-rust0.44.0→0.57.1,wit-component0.236.1→0.247.0)Validation
durable-bindgen/xtaskcompile against 0.57wasm32-wasip1; host workspace builds--locked;rustfmtcleanGenerated by Claude Code