summaryrefslogtreecommitdiffstats
path: root/vendor/fs-err/src/os.rs
blob: b801e6076340e10cd591ad85b7c42a4c73f4b9a8 (plain)
1
2
3
4
5
6
7
8
9
10
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;