Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from Nov 8, 2022

Commits on Nov 8, 2022

  1. c-api: Avoid losing error context with instance traps

    This commit was a mistake from bytecodealliance#5149
    alexcrichton committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    c61b1ce View commit details
    Browse the repository at this point in the history
  2. Update how exits are modeled in the C API (bytecodealliance#5215)

    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.
    alexcrichton committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    72d1bf2 View commit details
    Browse the repository at this point in the history