-
Notifications
You must be signed in to change notification settings - Fork 675
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
Expose SeekData and SeekHole on all Linux targets #1284
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nix should never define symbols like this. Instead, please submit a PR to libc.
Musl doesn't define these constants in its headers, which is why they are not defined by the libc crate. See rust-lang/libc#319. |
Yes it does. At least, they're in the libc crate now. And if they weren't, then it still wouldn't be right for Nix to define them. |
I had an old checkout of libc and didn't notice that |
Looks good now! Could you also please add a CHANGELOG entry? |
These were previously missing on musl and mips targets because of missing definitions in the libc crate.
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors r+
Merge conflict. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors r+
Build succeeded: |
These were previously missing on musl and mips targets because of
missing definitions in the libc crate.