Stream: git-wasmtime

Topic: wasmtime / PR #11212 Inch towards making tables safer


view this post on Zulip Wasmtime GitHub notifications bot (Jul 10 2025 at 02:45):

alexcrichton opened PR #11212 from alexcrichton:tables-just-a-bit-safer to bytecodealliance:main:

This is a small step towards #11179 which starts off by making vm::Instance::get_defined_table a safe function. That required updating one location which required both a &mut Table and a &mut GcStore at the same time with a new helper on the store. More of these sorts of helpers are likely going to be necessary but IMO it's a small price to pay for safety.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Jul 10 2025 at 02:45):

alexcrichton requested dicej for a review on PR #11212.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 10 2025 at 02:45):

alexcrichton requested wasmtime-core-reviewers for a review on PR #11212.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 10 2025 at 05:43):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 10 2025 at 16:53):

alexcrichton merged PR #11212.


Last updated: Dec 06 2025 at 06:05 UTC