Skip to content

[3.0.0] Backport some C-API trap-related changes#5224

Merged
alexcrichton merged 2 commits into
bytecodealliance:release-3.0.0from
alexcrichton:backport3
Nov 8, 2022
Merged

[3.0.0] Backport some C-API trap-related changes#5224
alexcrichton merged 2 commits into
bytecodealliance:release-3.0.0from
alexcrichton:backport3

Conversation

@alexcrichton
Copy link
Copy Markdown
Member

This backports #5215 and #5223 to fix issues from #5149.

Previously extracting an exit code was only possibly on a `wasm_trap_t`
which will never successfully have an exit code on it, so the exit code
extractor is moved over to `wasmtime_error_t`. Additionally extracting a
wasm trace from a `wasmtime_error_t` is added since traces happen on
both traps and errors now.
@github-actions github-actions Bot added the wasmtime:c-api Issues pertaining to the C API. label Nov 8, 2022
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Nov 8, 2022

Subscribe to Label Action

cc @peterhuene

Details This issue or pull request has been labeled: "wasmtime:c-api"

Thus the following users have been cc'd because of the following labels:

  • peterhuene: wasmtime:c-api

To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.

Learn more.

@alexcrichton alexcrichton merged commit 0102cd7 into bytecodealliance:release-3.0.0 Nov 8, 2022
@alexcrichton alexcrichton deleted the backport3 branch November 8, 2022 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wasmtime:c-api Issues pertaining to the C API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants