alexcrichton opened PR #8272 from alexcrichton:no-trap-on-error
to bytecodealliance:main
:
This commit fixes an issue with errors in the
wasmtime-wasi-http
crate by using thetrappable_error_type
bindgen configuration option in the same manner as other WASI interfaces in thewasmtime-wasi
crate. Unfortunately due to coherence theTrappableError<T>
type itself could not be used but it was small enough it wasn't much effort to duplicate.Closes #8269
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested fitzgen for a review on PR #8272.
alexcrichton requested wasmtime-core-reviewers for a review on PR #8272.
fitzgen requested elliottt for a review on PR #8272.
fitzgen commented on PR #8272:
Redirecting to @elliottt
elliottt submitted PR review:
Looks good to me!
elliottt merged PR #8272.
Last updated: Nov 22 2024 at 16:03 UTC