Stream: git-wasmtime

Topic: wasmtime / PR #5015 Tidy up the WASI `ErrorKind` enum.


view this post on Zulip Wasmtime GitHub notifications bot (Oct 04 2022 at 23:47):

sunfishcode opened PR #5015 from sunfishcode/error-kind to main:

ErrorKind is an internal enum used in wasi-libc to represent WASI errors that aren't precisely represened by std::io::ErrorKind errors. Add a descriptive comment, and remove some codes that are no longer needed:

This will simplify the error handling in #4947 and #4967, as it means the code will no longer have to check for two different forms of these errors.

<!--

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 (Oct 05 2022 at 01:13):

sunfishcode updated PR #5015 from sunfishcode/error-kind to main.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 05 2022 at 14:40):

alexcrichton merged PR #5015.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 05 2022 at 14:41):

alexcrichton submitted PR review.


Last updated: Dec 23 2024 at 12:05 UTC