We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd90dfd commit bbdc1cfCopy full SHA for bbdc1cf
src/time.rs
@@ -1,8 +1,12 @@
1
use crate::sys::time::TimeSpec;
2
-#[cfg(target_os = "linux")]
3
-use crate::unistd::Pid;
4
5
-use crate::Error;
+#[cfg(any(
+ target_os = "freebsd",
+ target_os = "dragonfly",
+ target_os = "linux",
6
+ target_os = "android",
7
+ target_os = "emscripten",
8
+))]
9
+use crate::{unistd::Pid, Error};
10
use crate::{Errno, Result};
11
use libc::{self, clockid_t};
12
use std::mem::MaybeUninit;
0 commit comments