Stream: git-wasmtime

Topic: wasmtime / PR #13079 Refactor `HandleTable::insert` slightly


view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 20:05):

alexcrichton opened PR #13079 from alexcrichton:refactor-handle-table-slightly to bytecodealliance:main:

This commit refactors the handle table accessible to components to remove a theoretical bug where when the table is full of elements it can get in a slightly weird where slots get allocated but traps are returned. This commit updates the modification of the table to happen only after the bounds-check is performed to ensure that once a table is full it's never extended any further.

<!--
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 (Apr 13 2026 at 20:05):

alexcrichton requested fitzgen for a review on PR #13079.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 20:05):

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

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 21:17):

fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 21:17):

fitzgen added PR #13079 Refactor HandleTable::insert slightly to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 22:01):

fitzgen merged PR #13079.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 22:01):

fitzgen removed PR #13079 Refactor HandleTable::insert slightly from the merge queue.


Last updated: May 03 2026 at 22:13 UTC