Skip to content

dragonfly: Don't try to read errno value #129

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

Merged
merged 1 commit into from
Jan 7, 2020

Conversation

josephlr
Copy link
Member

@josephlr josephlr commented Jan 7, 2020

We don't have a way to do it on stable Rust. See rust-lang/libc#1432 (comment)

Fixes #124

Now all errors on DragonFlyBSD will just return ERRNO_NOT_POSITIVE. This is the easiest way to fix this problem. Given the obscure nature of the target, I don't think we need much more than this.

We should bring in this change before #128

We don't have a way to do it on stable Rust.

Signed-off-by: Joe Richey <joerichey@google.com>
@josephlr josephlr requested a review from newpavlov January 7, 2020 01:09
@newpavlov newpavlov merged commit a913c9c into rust-random:master Jan 7, 2020
@josephlr josephlr deleted the dragonfly branch January 7, 2020 07:13
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.

Compilation failure on DragonFlyBSD
2 participants