]> git.proxmox.com Git - rustc.git/blob - src/libstd/os/mod.rs
cc4b1c944e7861124462ef7c53e4239fe1c2b302
[rustc.git] / src / libstd / os / mod.rs
1 // Copyright 2012-2015 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
4 //
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
10
11 //! OS-specific functionality
12
13 #![stable(feature = "os", since = "1.0.0")]
14 #![allow(missing_docs, bad_style)]
15
16 #[cfg(unix)] pub use sys::ext as unix;
17 #[cfg(windows)] pub use sys::ext as windows;
18
19 #[cfg(target_os = "android")] pub mod android;
20 #[cfg(target_os = "bitrig")] pub mod bitrig;
21 #[cfg(target_os = "dragonfly")] pub mod dragonfly;
22 #[cfg(target_os = "freebsd")] pub mod freebsd;
23 #[cfg(target_os = "ios")] pub mod ios;
24 #[cfg(target_os = "linux")] pub mod linux;
25 #[cfg(target_os = "macos")] pub mod macos;
26 #[cfg(target_os = "nacl")] pub mod nacl;
27 #[cfg(target_os = "openbsd")] pub mod openbsd;
28
29 pub mod raw;