Skip to content

Android supports EPOLLEXCLUSIVE, clean up EPOLL* flags #2448

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

Merged
merged 3 commits into from
Oct 15, 2021

Conversation

rtzoeller
Copy link
Contributor

Add EPOLLEXCLUSIVE to Android, with the same value as on Linux.

Consolidate EPOLL* flags which are common to all linux_like/*/mod.rs files to linux_like/mod.rs, including listing them in ascending order which is how Linux defines them.

Put them in ascending order, which matches the order Linux defines them.
EPOLLRDHUP, EPOLLRDUP, and EPOLLONESHOT have the same definition on all
linux-like platforms.
@rust-highfive
Copy link

r? @JohnTitor

(rust-highfive has picked a reviewer for you, use r? to override)

@JohnTitor
Copy link
Member

Thanks! @bors r+

@bors
Copy link
Contributor

bors commented Oct 15, 2021

📌 Commit 36be4cd has been approved by JohnTitor

@bors
Copy link
Contributor

bors commented Oct 15, 2021

⌛ Testing commit 36be4cd with merge 5b308d9...

@rtzoeller
Copy link
Contributor Author

@JohnTitor it looks like the macOS semver check failed, but it's pretty clearly unrelated to these changes. I'm not sure why that would be.

@JohnTitor
Copy link
Member

It's due to a previous PR and won't block bors, don't worry.

@bors
Copy link
Contributor

bors commented Oct 15, 2021

☀️ Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: JohnTitor
Pushing 5b308d9 to master...

@bors bors merged commit 5b308d9 into rust-lang:master Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants