about summary refs log tree commit diff
path: root/library/std/src/sys/os_str/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/os_str/mod.rs')
-rw-r--r--library/std/src/sys/os_str/mod.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/library/std/src/sys/os_str/mod.rs b/library/std/src/sys/os_str/mod.rs
new file mode 100644
index 00000000000..b509729475b
--- /dev/null
+++ b/library/std/src/sys/os_str/mod.rs
@@ -0,0 +1,12 @@
+cfg_if::cfg_if! {
+    if #[cfg(any(
+        target_os = "windows",
+        target_os = "uefi",
+    ))] {
+        mod wtf8;
+        pub use wtf8::{Buf, Slice};
+    } else {
+        mod bytes;
+        pub use bytes::{Buf, Slice};
+    }
+}