mirror of
https://gitee.com/openharmony/third_party_rust_nix
synced 2025-01-20 22:54:26 +00:00
Allow Android to use timerfd
Co-authored-by: zachoverflow <zach@zachjohnson.net>
This commit is contained in:
parent
39c63662ed
commit
2a31ac127a
@ -135,6 +135,6 @@ pub mod wait;
|
||||
#[allow(missing_docs)]
|
||||
pub mod inotify;
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
#[cfg(any(target_os = "android", target_os = "linux"))]
|
||||
#[allow(missing_docs)]
|
||||
pub mod timerfd;
|
||||
|
@ -41,5 +41,5 @@ mod test_pthread;
|
||||
target_os = "netbsd",
|
||||
target_os = "openbsd"))]
|
||||
mod test_ptrace;
|
||||
#[cfg(target_os = "linux")]
|
||||
#[cfg(any(target_os = "android", target_os = "linux"))]
|
||||
mod test_timerfd;
|
||||
|
Loading…
x
Reference in New Issue
Block a user