tiny_std/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#![cfg_attr(not(test), no_std)]
#![warn(clippy::pedantic)]
#![allow(
    clippy::let_underscore_untyped,
    clippy::module_name_repetitions,
    clippy::similar_names,
    clippy::inline_always
)]
#[cfg(feature = "alloc")]
extern crate alloc;

pub use error::{Error, Result};
pub use rusl::error::Errno;
pub use rusl::string::unix_str::*;
pub use rusl::unix_lit;
pub use rusl::Error as RuslError;

#[cfg(feature = "allocator-provided")]
pub mod allocator;
pub mod elf;
#[cfg(feature = "start")]
pub mod env;
mod error;
pub mod fs;
pub mod io;
pub mod linux;
pub mod net;
pub mod process;
#[cfg(feature = "start")]
pub mod start;
pub mod sync;
pub mod thread;
pub mod time;
pub mod unix;