Skip to content

Conversation

@leonm1
Copy link
Contributor

@leonm1 leonm1 commented Dec 5, 2025

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

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

Signed-off-by: Matt Leon <mattleon@google.com>
Signed-off-by: Matt Leon <mattleon@google.com>
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.

1 participant