-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Enable statx on musl-libc #3976
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
base: main
Are you sure you want to change the base?
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
05343c1
to
48e8413
Compare
@rustbot blocked |
☔ The latest upstream changes (presumably #4042) made this pull request unmergeable. Please resolve the merge conflicts. |
c6ed9b3
to
93a3c59
Compare
☔ The latest upstream changes (presumably #4132) made this pull request unmergeable. Please resolve the merge conflicts. |
We now have the config |
Version 1.2.5 of musl-libc added support for the statx system call[1]. [1]: https://musl.libc.org/releases.html
src/unix/linux_like/mod.rs
Outdated
pub stx_atomic_write_unit_max: crate::__u32, | ||
pub stx_atomic_write_segments_max: crate::__u32, | ||
__statx_pad2: [crate::__u32; 1], | ||
__statx_pad3: [crate::__u64; 9], |
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.
I'm dropping the new constant for now, as they seem likely to cause more headaches
Description
This PR adds the statx syscall on Linux/musl, which is available since musl 1.2.5.
Closes: #3972
This PR is currently blocked by #3791
and #3978.Sources
Checklist
libc-test/semver
have been updated*LAST
or*MAX
areincluded (see #3131)
cd libc-test && cargo test --target mytarget
);especially relevant for platforms that may not be checked in CI