Skip to content

Fix compile errors for next libc version - #1676

Merged
sunfishcode merged 5 commits into
bytecodealliance:mainfrom
xtqqczze:statx_flags
Sep 16, 2026
Merged

sunfishcode merged 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.
@sunfishcode

Copy link
Copy Markdown
Member

Thanks!

@sunfishcode
sunfishcode merged commit ded795b into bytecodealliance:main Sep 16, 2026
51 checks passed
@xtqqczze xtqqczze mentioned this pull request Sep 16, 2026
@sunfishcode

Copy link
Copy Markdown
Member

This is now released in rustix 1.1.5.

@xtqqczze
xtqqczze deleted the statx_flags branch September 16, 2026 23:18
algitbot pushed a commit to alpinelinux/aports that referenced this pull request Sep 18, 2026
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

2 participants