Skip to content

Update wasm-tools dependencies#1654

Merged
alexcrichton merged 2 commits into
bytecodealliance:mainfrom
alexcrichton:update-wasm-tools
Jul 7, 2026
Merged

Update wasm-tools dependencies#1654
alexcrichton merged 2 commits into
bytecodealliance:mainfrom
alexcrichton:update-wasm-tools

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

Additionally update C intrinsics for threading as they've been renamed slightly.

Additionally update C intrinsics for threading as they've been renamed
slightly.
@alexcrichton
alexcrichton requested a review from dicej July 7, 2026 17:08
@alexcrichton
alexcrichton added this pull request to the merge queue Jul 7, 2026
Merged via the queue into bytecodealliance:main with commit 6f15609 Jul 7, 2026
28 of 29 checks passed
@alexcrichton
alexcrichton deleted the update-wasm-tools branch July 7, 2026 21:04
rvolosatovs added a commit to bytecodealliance/wrpc that referenced this pull request Jul 20, 2026
Merge upstream wit-bindgen 0.59.0 into the vendored bindgen subtree.

- Bump wit-bindgen-core 0.58 -> 0.59, wit-parser 0.251 -> 0.253 and
  wit-component 0.252 -> 0.253.
- API churn carried into the vendored generators:
  - `WorldGenerator::preprocess` now returns `Result<()>` (upstream
    bytecodealliance/wit-bindgen#1648); update the Rust and Go generator impls.
  - wit-parser 0.253 replaces `Resolve::push_group(UnresolvedPackageGroup::parse(..))`
    with `Resolve::push_str(..)` in the Rust `generate!` macro
    (bytecodealliance/wit-bindgen#1654).
- Carry the new codegen input (single-version-package); it generates without
  changes.
- Carry upstream's move of the Go `strings` runtime test into `disabled/`.

Non-carries (not applicable to wRPC, resolved as delete/ours during the merge):
- The resource-machinery changes in `crates/rust/src/interface.rs`
  (`resource_into_raw_`/`resource_from_raw_`, the `ResourceRep`/`Resource`
  runtime bounds and the new `guest-rust/src/resource.rs` module,
  `{camel}Borrow` provenance) and the `bindgen.rs` `FunctionBindgen::lift`
  provenance fix target upstream's canonical-ABI guest resource lowering; wRPC
  generates transport stubs and vendors none of that machinery.
- bytecodealliance/wit-bindgen#1468 `merge_structurally_equal_types` (macro/generator option and its
  codegen test) is a deferred feature; wRPC's Rust generator has no such option.
- The rebooted Go generator (`crates/go`) and the other guest backends
  (`crates/{c,cpp,csharp,markdown,moonbit}`, `crates/guest-rust` runtime) stay
  dropped; wRPC's `wit-bindgen-go` is the independent pre-reboot fork and
  `wit-bindgen-core` is consumed as a published crate.
- The new/relocated `tests/runtime` and `tests/threading` cases (future/stream
  cancellation, yield loops, block-on, cross-task wakeup, arena-allocated
  resources, threading builtins, ...) exercise the guest canonical-ABI async
  runtime, which wRPC does not implement (async is over the transport).

rust codegen and go codegen tests pass (864 codegen, 87 components, 41 runtime);
`cargo clippy --workspace` (and `--features serde`) and `cargo doc --workspace`
are clean; the Go integration suite passes and all examples build.

Assisted-by: claude:claude-opus-4-8
Upstream diff: bytecodealliance/wit-bindgen@v0.58.0...v0.59.0
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