proxy-wasm-cpp-host
proxy-wasm-cpp-host copied to clipboard
`wasmtime`: update to `v39.0.1`
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:
- Update rules_rust to use a more recent rust toolchain required by wasmtime.
- Update platforms, rules_cc, and bazel to permit a more recent rules_rust