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

Replace errno dependency with calling Error::last_os_error #98

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

faern
Copy link
Member

@faern faern commented May 29, 2024

The documentation for the errno crate specify that last_os_error fetch the underlying errno in the exact same way, so this should be equivalent, but with fewer dependencies. See here: https://github.com/lambda-fairy/rust-errno?tab=readme-ov-file#comparison-with-stdioerror


This change is Reviewable

The documentation for the errno crate specify that last_os_error fetch
the underlying errno in the exact same way, so this should be
equivalent, but with fewer dependencies
@faern faern requested a review from Serock3 May 29, 2024 20:18
Copy link

@Serock3 Serock3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@faern faern merged commit 60448b1 into main Jun 3, 2024
10 checks passed
@faern faern deleted the remove-errno-dependency branch June 3, 2024 22:22
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.

2 participants