Stream: git-wasmtime

Topic: wasmtime / PR #14979 Add `Global::get_numeric` taking `As...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 24 2026 at 03:09):

smarcd opened PR #14979 from smarcd:global-get-numeric to bytecodealliance:main:

Reading a numeric global never has to clone a GC reference, so it does not need AsContextMut. This adds Global::get_numeric(&self, impl AsContext) -> Option<Val>, returning None for reference-typed globals, so embedders can read numeric globals from the epoch and call hooks that only get StoreHookState after #14386.

Global::get now reuses the same numeric read, so there is no duplicated implementation. Tables are left alone for now.

Closes #14965

view this post on Zulip Wasmtime GitHub notifications bot (Oct 24 2026 at 03:09):

smarcd removed the review request for wasmtime-core-reviewers from PR #14979.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 24 2026 at 03:09):

smarcd requested pchickey for a review on PR #14979.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 24 2026 at 03:09):

smarcd requested wasmtime-core-reviewers for a review on PR #14979.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 24 2026 at 05:47):

github-actions[bot] added the label wasmtime:api on PR #14979.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2026 at 17:57):

:thumbs_up: pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2026 at 17:57):

pchickey added PR #14979 Add Global::get_numeric taking AsContext to the merge queue

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2026 at 18:19):

github-merge-queue[bot] removed PR #14979 Add Global::get_numeric taking AsContext from the merge queue

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2026 at 19:22):

pchickey commented on PR #14979:

CI failure appears to be due to temporary network failure, putting this back into the queue

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2026 at 19:22):

pchickey added PR #14979 Add Global::get_numeric taking AsContext to the merge queue

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2026 at 19:46):

github-merge-queue[bot] removed PR #14979 Add Global::get_numeric taking AsContext from the merge queue

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2026 at 21:06):

pchickey commented on PR #14979:

CI should be fixed by #14998

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2026 at 21:06):

pchickey added PR #14979 Add Global::get_numeric taking AsContext to the merge queue

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2026 at 21:35):

:check: pchickey merged PR #14979.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2026 at 21:35):

pchickey removed PR #14979 Add Global::get_numeric taking AsContext from the merge queue


Last updated: Oct 31 2026 at 23:03 UTC