Fix compile errors for next libc version - #1676
Open
xtqqczze wants to merge 5 commits into
Open
Conversation
xtqqczze
force-pushed
the
statx_flags
branch
from
September 6, 2026 19:23
218549b to
f8a81fb
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
The `SYSPROTO_EVENT` and `SYSPROTO_CONTROL` constants are only available on macOS, see rust-lang/libc#5158.
The `AF_SYS_CONTROL` constant is only available on macOS, see rust-lang/libc#5158.
xtqqczze
force-pushed
the
statx_flags
branch
from
September 6, 2026 20:11
f8a81fb to
151ff44
Compare
This comment was marked as resolved.
This comment was marked as resolved.
tvOS and watchOS do not provide `fork`, so the `utimensat` fallback cannot be implemented on these platforms. Return `NOSYS` instead.
xtqqczze
force-pushed
the
statx_flags
branch
2 times, most recently
from
September 6, 2026 21:22
3feb13a to
eada0df
Compare
xtqqczze
marked this pull request as ready for review
September 7, 2026 09:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
statx_flagsexplicitly fromlinux_raw_systo avoid conflicts withlibc, following linux_like: Expose statx on all musl versions rust-lang/libc#5448.NOSYSfromutimensaton tvOS and watchOS. These platforms do not providefork, so the existingutimensatfallback cannot be implemented, following Test and fix iOS rust-lang/libc#5158.Depends on #1674.
Closes #1675
All checks passed with
libc-0.2branch oflibc: 3feb13aAll checks passed with current (v0.2.189) release of
libc: eada0df