-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add STATX_DIOALIGN (introduced in linux v6.1) #3076
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) soon. Please see the contribution instructions for more information. |
f19c4cc
to
df4f6b9
Compare
Seems CI still fails, could you check? |
cargo:warning=/checkout/target/x86_64-unknown-linux-gnu/debug/build/libc-test-550781ad693ddf96/out/main.c:44809:73: error: 'STATX_DIOALIGN' undeclared here (not in a function) Which indicates me that the image used in the CI is not linux 6.1+, however I removed STATX_DIOALIGN from the linux.txt list so it shouldn't test it (and I whitelisted it inside the libc-test/build.rs |
Note that the semver list is different from the libc-test, and you added the const to the branch for musl/sparc64 on libc-test/build.rs, that's why it fails. You have to ignore it unconditionally. |
Oh ok, I thought the semver was used to build the main.rs, I see that I got that wrong. I moved the conditional branch to another one, I missed the sparc64 condition, I wanted to put the constant close to something related. Note CI is broken for freebsd 14 (on setup) else the rest pass, sorry to have made you lose your time, your project is a bit complex to understand |
It was fixed on master already, it happens here because the branch is old. Could you squash commits into one? |
068833d
to
69f06d1
Compare
LGTM, thank you :) @bors r+ |
Add STATX_DIOALIGN (introduced in linux v6.1) The [STATX_DIOALIGN](https://elixir.bootlin.com/linux/v6.1/A/ident/STATX_DIOALIGN) constant was introduced in linux 6.1 The statx structure thus gained [2 more fields](https://elixir.bootlin.com/linux/v6.1/source/include/uapi/linux/stat.h#L127)
💔 Test failed - checks-actions |
@bors retry timeout |
Add STATX_DIOALIGN (introduced in linux v6.1) The [STATX_DIOALIGN](https://elixir.bootlin.com/linux/v6.1/A/ident/STATX_DIOALIGN) constant was introduced in linux 6.1 The statx structure thus gained [2 more fields](https://elixir.bootlin.com/linux/v6.1/source/include/uapi/linux/stat.h#L127)
💔 Test failed - checks-actions |
Spurious:
@bors retry |
Add STATX_DIOALIGN (introduced in linux v6.1) The [STATX_DIOALIGN](https://elixir.bootlin.com/linux/v6.1/A/ident/STATX_DIOALIGN) constant was introduced in linux 6.1 The statx structure thus gained [2 more fields](https://elixir.bootlin.com/linux/v6.1/source/include/uapi/linux/stat.h#L127)
💔 Test failed - checks-actions |
@bors retry |
Add STATX_DIOALIGN (introduced in linux v6.1) The [STATX_DIOALIGN](https://elixir.bootlin.com/linux/v6.1/A/ident/STATX_DIOALIGN) constant was introduced in linux 6.1 The statx structure thus gained [2 more fields](https://elixir.bootlin.com/linux/v6.1/source/include/uapi/linux/stat.h#L127)
💔 Test failed - checks-actions |
No luck, @bors retry |
☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14 |
The STATX_DIOALIGN constant was introduced in linux 6.1
The statx structure thus gained 2 more fields