Stream: git-wasmtime

Topic: wasmtime / PR #2760 wiggle: delete GuestErrorConversion, ...


view this post on Zulip Wasmtime GitHub notifications bot (Mar 24 2021 at 05:23):

pchickey opened PR #2760 from pch/wiggle_error_reporting to main:

With the latest renovation to witx, wiggle no longer generates code that calls the GuestErrorConversion trait to transform a GuestError into the function's error type. Instead, wiggle will trap execution if a GuestError is thrown in generated code.

This PR removes generation of the GuestErrorConversion trait. Users can delete their impls of it - they are dead code.

I also fixed up the Display impl of the GuestError::InFunc variant to be more useful, and deleted GuestError::InDataField because it was also dead code.
<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Mar 24 2021 at 05:23):

pchickey requested alexcrichton for a review on PR #2760.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 24 2021 at 14:06):

alexcrichton submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 24 2021 at 17:39):

pchickey updated PR #2760 from pch/wiggle_error_reporting to main.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 24 2021 at 18:19):

pchickey updated PR #2760 from pch/wiggle_error_reporting to main.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 24 2021 at 18:37):

pchickey updated PR #2760 from pch/wiggle_error_reporting to main.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 24 2021 at 20:39):

pchickey merged PR #2760.


Last updated: Dec 23 2024 at 13:07 UTC