1 | #![allow (unsafe_op_in_unsafe_fn)] |
2 | |
3 | /// The PAL (platform abstraction layer) contains platform-specific abstractions |
4 | /// for implementing the features in the other submodules, e.g. UNIX file |
5 | /// descriptors. |
6 | mod pal; |
7 | |
8 | mod alloc; |
9 | mod personality; |
10 | |
11 | pub mod anonymous_pipe; |
12 | pub mod backtrace; |
13 | pub mod cmath; |
14 | pub mod exit_guard; |
15 | pub mod fs; |
16 | pub mod io; |
17 | pub mod net; |
18 | pub mod os_str; |
19 | pub mod path; |
20 | pub mod process; |
21 | pub mod random; |
22 | pub mod stdio; |
23 | pub mod sync; |
24 | pub mod thread_local; |
25 | |
26 | // FIXME(117276): remove this, move feature implementations into individual |
27 | // submodules. |
28 | pub use pal::*; |
29 | |