Skip to content

Commit

Permalink
Recent versions of Android support EPOLLEXCLUSIVE
Browse files Browse the repository at this point in the history
Enable epoll tests on Android, because they are passing.
  • Loading branch information
rtzoeller committed Oct 16, 2021
1 parent da49e4f commit 6078479
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,16 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/).

## [Unreleased] - ReleaseDate
### Added

- Added `EPOLLEXCLUSIVE` on Android.
(#[1567](https://github.com/nix-rust/nix/pull/1567))

### Changed
### Fixed
### Removed

## [0.23.0] - 2021-09-28
### Added

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -25,7 +25,7 @@ targets = [
]

[dependencies]
libc = { version = "0.2.102", features = [ "extra_traits" ] }
libc = { version = "0.2.104", features = [ "extra_traits" ] }
bitflags = "1.3.1"
cfg-if = "1.0"

Expand Down
1 change: 0 additions & 1 deletion src/sys/epoll.rs
Expand Up @@ -18,7 +18,6 @@ libc_bitflags!(
EPOLLERR;
EPOLLHUP;
EPOLLRDHUP;
#[cfg(target_os = "linux")] // Added in 4.5; not in Android.
EPOLLEXCLUSIVE;
#[cfg(not(target_arch = "mips"))]
EPOLLWAKEUP;
Expand Down
2 changes: 1 addition & 1 deletion test/sys/mod.rs
Expand Up @@ -30,7 +30,7 @@ mod test_ioctl;
mod test_wait;
mod test_uio;

#[cfg(target_os = "linux")]
#[cfg(any(target_os = "android", target_os = "linux"))]
mod test_epoll;
#[cfg(target_os = "linux")]
mod test_inotify;
Expand Down

0 comments on commit 6078479

Please sign in to comment.