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

c-api: Fix wasmtime_func_call_unchecked to communicate all errors #5262

Merged
merged 1 commit into from Nov 14, 2022

Conversation

alexcrichton
Copy link
Member

Change the return value of this function to a wasmtime_error_t* instead of the prior wasm_trap_t*. This is a leftover from #5149.

Closes #5257

Change the return value of this function to a `wasmtime_error_t*`
instead of the prior `wasm_trap_t*`. This is a leftover from bytecodealliance#5149.

Closes bytecodealliance#5257
@github-actions github-actions bot added the wasmtime:c-api Issues pertaining to the C API. label Nov 14, 2022
@github-actions
Copy link

Subscribe to Label Action

cc @peterhuene

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 9c73a44 into bytecodealliance:main Nov 14, 2022
@alexcrichton alexcrichton deleted the unchecked-errors branch November 14, 2022 18:30
alexcrichton added a commit to alexcrichton/wasmtime that referenced this pull request Nov 14, 2022
…ytecodealliance#5262)

Change the return value of this function to a `wasmtime_error_t*`
instead of the prior `wasm_trap_t*`. This is a leftover from bytecodealliance#5149.

Closes bytecodealliance#5257
alexcrichton added a commit that referenced this pull request Nov 14, 2022
…5262) (#5263)

Change the return value of this function to a `wasmtime_error_t*`
instead of the prior `wasm_trap_t*`. This is a leftover from #5149.

Closes #5257
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.

Wasmtime C API: Missing way to retrieve the WASI exit code when using wasmtime_func_call_unchecked
2 participants