Skip to content

Update wit-bindgen from 0.51 to 0.57#103

Merged
swlynch99 merged 1 commit into
mainfrom
claude/wit-bindgen-057
Jun 9, 2026
Merged

Update wit-bindgen from 0.51 to 0.57#103
swlynch99 merged 1 commit into
mainfrom
claude/wit-bindgen-057

Conversation

@swlynch99

Copy link
Copy Markdown
Contributor

Summary

Bumps the guest-side wit-bindgen codegen crates to the latest 0.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.1
  • wit-bindgen-rt: left at 0.44.0 (already its latest stable release; it tracks a separate version line)
  • One API fix in durable-bindgen: WorldGenerator::generate now takes &mut Resolve instead of &Resolve
  • Regenerated the checked-in bindings.rs for durable-core, durable-http, and durable-sqlx

Bindings 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)
  • Updated producer version strings in the encoded component-type sections (wit-bindgen-rust 0.44.00.57.1, wit-component 0.236.10.247.0)

Validation

  • durable-bindgen / xtask compile against 0.57
  • Guest crates build for wasm32-wasip1; host workspace builds --locked; rustfmt clean
  • Full test suite green locally: 44/44 passed (including the integration tests that execute the WASM workflows built from the regenerated bindings)

Generated by Claude Code

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
@swlynch99 swlynch99 merged commit df530d1 into main Jun 9, 2026
7 checks passed
@swlynch99 swlynch99 deleted the claude/wit-bindgen-057 branch June 9, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants