Skip to content

Fix compile errors for next libc version - #1676

Open
xtqqczze wants to merge 5 commits into
bytecodealliance:mainfrom
xtqqczze:statx_flags
Open

Fix compile errors for next libc version#1676
xtqqczze wants to merge 5 commits into
bytecodealliance:mainfrom
xtqqczze:statx_flags

Conversation

@xtqqczze

@xtqqczze xtqqczze commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Depends on #1674.
Closes #1675

All checks passed with libc-0.2 branch of libc : 3feb13a
All checks passed with current (v0.2.189) release of libc: eada0df

@xtqqczze

This comment was marked as resolved.

@xtqqczze

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 xtqqczze changed the title Import statx_flags from linux_raw_sys explicitly to avoid libc conflicts Fix compile errors for next libc version Sep 6, 2026
@xtqqczze

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
xtqqczze force-pushed the statx_flags branch 2 times, most recently from 3feb13a to eada0df Compare September 6, 2026 21:22
@xtqqczze
xtqqczze marked this pull request as ready for review September 7, 2026 09:50
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.

Next libc version will break musl targets

1 participant