diff options
Diffstat (limited to 'vendor/rustix-0.37.6/src/time/mod.rs')
-rw-r--r-- | vendor/rustix-0.37.6/src/time/mod.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/rustix-0.37.6/src/time/mod.rs b/vendor/rustix-0.37.6/src/time/mod.rs new file mode 100644 index 000000000..9a0dcb4d7 --- /dev/null +++ b/vendor/rustix-0.37.6/src/time/mod.rs @@ -0,0 +1,13 @@ +//! Time-related operations. + +mod clock; +#[cfg(any(target_os = "android", target_os = "fuchsia", target_os = "linux"))] +#[cfg(feature = "time")] +mod timerfd; + +// TODO: Convert WASI'S clock APIs to use handles rather than ambient clock +// identifiers, update `wasi-libc`, and then add support in `rustix`. +pub use clock::*; +#[cfg(any(target_os = "android", target_os = "fuchsia", target_os = "linux"))] +#[cfg(feature = "time")] +pub use timerfd::*; |