diff options
Diffstat (limited to 'vendor/fs-err/src/os.rs')
-rw-r--r-- | vendor/fs-err/src/os.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/fs-err/src/os.rs b/vendor/fs-err/src/os.rs new file mode 100644 index 000000000..b801e6076 --- /dev/null +++ b/vendor/fs-err/src/os.rs @@ -0,0 +1,11 @@ +//! OS-specific functionality.
+
+// The std-library has a couple more platforms than just `unix` for which these apis
+// are defined, but we're using just `unix` here. We can always expand later.
+#[cfg(unix)]
+/// Platform-specific extensions for Unix platforms.
+pub mod unix;
+
+#[cfg(windows)]
+/// Platform-specific extensions for Windows.
+pub mod windows;
|