-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
feature to use core::error::Error instead of std::error::Error #154
Conversation
Good start! There are two other change you'll need to make before we can land this:
And yeah, feel free to delete the Validation section from the template - no need for a PR like this. |
And actually, now that I think about it - do we actually need a I believe the downstream And thanks to the lack of type-erasure in gdbstub's API - if your error type implements |
You're right. I'll revert this changes and convert |
@daniel5151 do you have any preference how to choose between |
Apologies for the delay - we just open-sourced https://github.com/microsoft/OpenVMM at $work, so my attention has been elsewhere the past few days 😅 I think a type-alias based approach is good? i.e: having a single |
This approach looks good 👌 Two things before we can merge:
|
Awesome. Thanks again for sending in the PR! I'll merge this in, and cut a new gdbstub release with this new feature. |
Description
Not sure if the validation outputs are required because it is a small change.
Closes #153.
API Stability
Checklist
rustdoc
formatting looks good (viacargo doc
)