Stream: git-wasmtime

Topic: wasmtime / PR #11670 Refine raw `VMContext` helpers


view this post on Zulip Wasmtime GitHub notifications bot (Sep 10 2025 at 18:24):

alexcrichton requested fitzgen for a review on PR #11670.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 10 2025 at 18:24):

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

view this post on Zulip Wasmtime GitHub notifications bot (Sep 10 2025 at 18:24):

alexcrichton opened PR #11670 from alexcrichton:from-vmctx-again to bytecodealliance:main:

This redefines Instance::from_vmctx as a function from NonNull<VMContext> to NonNull<Instance> to canonicalize the single location that pointer arithmetic is done but otherwise require callers to handle the safety requirements of safe references and such.

<!--
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 (Sep 10 2025 at 20:06):

fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 10 2025 at 20:41):

alexcrichton merged PR #11670.


Last updated: Dec 06 2025 at 07:03 UTC