Skip to content

Conversation

@alexcrichton
Copy link
Member

This commit does some preparatory refactoring for #11326 to ensure that a store is available when trap information is being processed. Currently this doesn't leverage the new parameter but it should be leverage-able in #11326.

This commit does some preparatory refactoring for bytecodealliance#11326 to ensure that
a store is available when trap information is being processed. Currently
this doesn't leverage the new parameter but it should be leverage-able
in bytecodealliance#11326.
@alexcrichton alexcrichton requested a review from a team as a code owner August 15, 2025 18:20
@alexcrichton alexcrichton requested review from fitzgen and removed request for a team August 15, 2025 18:20
@cfallin
Copy link
Member

cfallin commented Aug 15, 2025

Fantastic, thank you for this! I'll rebase/refactor on top of it -- will be much cleaner for exception processing, as we've discussed.

@github-actions github-actions bot added the wasmtime:api Related to the API of the `wasmtime` crate itself label Aug 15, 2025
Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@alexcrichton alexcrichton enabled auto-merge August 18, 2025 19:57
@alexcrichton alexcrichton added this pull request to the merge queue Aug 18, 2025
Merged via the queue into bytecodealliance:main with commit 8294126 Aug 18, 2025
44 checks passed
@alexcrichton alexcrichton deleted the store-while-handling-traps branch August 18, 2025 20:34
bongjunj pushed a commit to prosyslab/wasmtime that referenced this pull request Oct 20, 2025
…1441)

* Require a store in `catch_unwind_and_record_trap`

This commit does some preparatory refactoring for bytecodealliance#11326 to ensure that
a store is available when trap information is being processed. Currently
this doesn't leverage the new parameter but it should be leverage-able
in bytecodealliance#11326.

* Review comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wasmtime:api Related to the API of the `wasmtime` crate itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants