Skip to content
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

Backport patches to 0.38 #1213

Merged
merged 4 commits into from
Nov 10, 2024
Merged

Backport patches to 0.38 #1213

merged 4 commits into from
Nov 10, 2024

Conversation

sunfishcode
Copy link
Member

The primary motivation for this is to fix compilation errors when compiling with recent libc versions, which removed several declarations on solaris.

sunfishcode and others added 4 commits November 10, 2024 07:41
* Disable epoll support on Solaris.

It appears Solaris doesn't support epoll; only Illumos does. And as
of rust-lang/libc#3864, the libc crate won't declare the epoll libc
interface on Solaris. So disable epoll support on Solaris in rustix
too.

* Add epoll documentation links for illumos.

* Add a documentation reference for ptsname for illumos.

* Enable the epoll tests on illumos and redox.

* Enable the openpty tests on illumos.
…1211)

Recent versions of libc 0.2.x have removed these declarations on Solaris,
so remove the code that uses them from rustix.
The `getppid` syscall can never fail, but rustix returns PID 0 as
`None`.
@sunfishcode sunfishcode merged commit feb5227 into 0.38 Nov 10, 2024
42 of 45 checks passed
@sunfishcode sunfishcode deleted the 0.38-updates branch November 10, 2024 15:53
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.

2 participants