]> git.proxmox.com Git - rustc.git/blame - src/libstd/os/mod.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / libstd / os / mod.rs
CommitLineData
1a4d82fc 1// Copyright 2012-2015 The Rust Project Developers. See the COPYRIGHT
223e47cc
LB
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
54a0048b 11//! OS-specific functionality.
1a4d82fc 12
c34b1796 13#![stable(feature = "os", since = "1.0.0")]
d9579d0f 14#![allow(missing_docs, bad_style)]
223e47cc 15
92a42be0
SL
16#[cfg(unix)]
17#[stable(feature = "rust1", since = "1.0.0")]
18pub use sys::ext as unix;
19#[cfg(windows)]
20#[stable(feature = "rust1", since = "1.0.0")]
21pub use sys::ext as windows;
d9579d0f
AL
22
23#[cfg(target_os = "android")] pub mod android;
24#[cfg(target_os = "bitrig")] pub mod bitrig;
25#[cfg(target_os = "dragonfly")] pub mod dragonfly;
26#[cfg(target_os = "freebsd")] pub mod freebsd;
27#[cfg(target_os = "ios")] pub mod ios;
28#[cfg(target_os = "linux")] pub mod linux;
29#[cfg(target_os = "macos")] pub mod macos;
30#[cfg(target_os = "nacl")] pub mod nacl;
c1a9b12d 31#[cfg(target_os = "netbsd")] pub mod netbsd;
d9579d0f 32#[cfg(target_os = "openbsd")] pub mod openbsd;
7453a54e 33#[cfg(target_os = "solaris")] pub mod solaris;
54a0048b 34#[cfg(target_os = "emscripten")] pub mod emscripten;
d9579d0f
AL
35
36pub mod raw;