proxy-wasm-cpp-host icon indicating copy to clipboard operation
proxy-wasm-cpp-host copied to clipboard

`wasmtime`: update to `v39.0.1`

Open leonm1 opened this issue 1 month ago • 0 comments

Release notes: https://github.com/bytecodealliance/wasmtime/releases/tag/v39.0.1

The original goal:

  • Allow wasmtime to instantiate AOT precompiled wasm modules (e.g. with wasmtime compile).
  • Update wasmtime to a recent version for performance testing.
  • Add resource limiting to bring it to parity with V8.

In order to make the resource limiting changes, I needed to use the wasmtime C api rather than the wasm-c-api. I migrated the wasmtime implementation to use the C++ API and migrated the C-api to use the prefixed version by default (required to use the C++ API).

Other yak shaving changes required to make this change:

  1. Update rules_rust to use a more recent rust toolchain required by wasmtime.
  2. Update platforms, rules_cc, and bazel to permit a more recent rules_rust

leonm1 avatar Dec 05 '25 17:12 leonm1