Stream: git-wasmtime

Topic: wasmtime / PR #10355 Stack switching: Remove tack_chain f...


view this post on Zulip Wasmtime GitHub notifications bot (Mar 07 2025 at 19:56):

frank-emrich opened PR #10355 from frank-emrich:remove-stack-chain-field to bytecodealliance:main:

This PR is part of a series that adds support for the Wasm stack switching proposal. The explainer document for the proposal is here. There's a tracking issue for the overall progress: #10248

This PR is effectively a revert of #10265: As @fitzgen suggested there, it is actually more natural to store the actual stack chain in the VMStoreContext (née VMRuntimeLimits) instead of having it be a separate field of the StoreOpaque.
Therefore, we don't actually need a pointer to it in the VMContext. Instead, can now just rely on the fact that the VMContext already has a pointer to the VMStoreContext, where the stack chain will now we stored in subsequent PRs.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 07 2025 at 19:56):

frank-emrich requested fitzgen for a review on PR #10355.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 07 2025 at 19:56):

frank-emrich requested wasmtime-core-reviewers for a review on PR #10355.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 07 2025 at 19:58):

frank-emrich updated PR #10355.


Last updated: Apr 18 2025 at 11:03 UTC