| 1 | //! Time-related operations. |
|---|---|
| 2 | |
| 3 | mod clock; |
| 4 | #[cfg(any(linux_kernel, target_os = "fuchsia"))] |
| 5 | mod timerfd; |
| 6 | |
| 7 | // TODO: Convert WASI'S clock APIs to use handles rather than ambient clock |
| 8 | // identifiers, update `wasi-libc`, and then add support in `rustix`. |
| 9 | pub use clock::*; |
| 10 | #[cfg(any(linux_kernel, target_os = "fuchsia"))] |
| 11 | pub use timerfd::*; |
| 12 |
