Skip to content

Commit 70229f5

Browse files
committed
add poll module in Android
1 parent 17f87d4 commit 70229f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ pub mod mqueue;
4646

4747
pub mod pty;
4848

49-
#[cfg(any(target_os = "linux", target_os = "macos"))]
49+
#[cfg(any(target_os = "linux", target_os = "android", target_os = "macos"))]
5050
pub mod poll;
5151

5252
pub mod net;
@@ -96,7 +96,7 @@ pub enum Error {
9696
/// The operation involved a conversion to Rust's native String type, which failed because the
9797
/// string did not contain all valid UTF-8.
9898
InvalidUtf8,
99-
/// The operation is not supported by Nix, in this instance either use the libc bindings or
99+
/// The operation is not supported by Nix, in this instance either use the libc bindings or
100100
/// consult the module documentation to see if there is a more appropriate interface available.
101101
UnsupportedOperation,
102102
}

0 commit comments

Comments
 (0)