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

Allow Error::raw_os_error to return non-i32 codes #569

Merged
merged 3 commits into from
Dec 18, 2024
Merged

Conversation

newpavlov
Copy link
Member

@newpavlov newpavlov commented Dec 18, 2024

This allows us to remove some UEFI-specific exceptions from the code.

This PR only partially resolves #568 since we still use NonZeroU32 on UEFI targets, but it should be sufficient to future-proof ourselves for the v0.3 release.

@newpavlov newpavlov requested a review from josephlr December 18, 2024 13:12
src/error.rs Outdated Show resolved Hide resolved
@newpavlov newpavlov merged commit dc89211 into master Dec 18, 2024
60 checks passed
@newpavlov newpavlov deleted the tweak_error branch December 18, 2024 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error on targets where RawOsError is not equal to i32
2 participants