summaryrefslogtreecommitdiffstats
path: root/third_party/rust/time/src/sys/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/time/src/sys/mod.rs')
-rw-r--r--third_party/rust/time/src/sys/mod.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/rust/time/src/sys/mod.rs b/third_party/rust/time/src/sys/mod.rs
new file mode 100644
index 0000000000..90bbf7ff3b
--- /dev/null
+++ b/third_party/rust/time/src/sys/mod.rs
@@ -0,0 +1,9 @@
+//! Functions with a common interface that rely on system calls.
+
+#![allow(unsafe_code)] // We're interfacing with system calls.
+
+#[cfg(feature = "local-offset")]
+mod local_offset_at;
+
+#[cfg(feature = "local-offset")]
+pub(crate) use local_offset_at::local_offset_at;