twizzler_rt_abi/
lib.rs

1#![no_std]
2#![feature(naked_functions)]
3#![feature(allocator_api)]
4#![feature(ip_from)]
5#![cfg_attr(
6    all(feature = "stderr", not(feature = "rustc-dep-of-std")),
7    feature(io_error_inprogress)
8)]
9#![cfg_attr(
10    all(feature = "stderr", not(feature = "rustc-dep-of-std")),
11    feature(io_error_more)
12)]
13
14pub mod core;
15#[allow(unused_imports)]
16pub mod object;
17
18#[cfg(not(feature = "kernel"))]
19pub mod alloc;
20#[cfg(not(feature = "kernel"))]
21pub mod arch;
22#[cfg(not(feature = "kernel"))]
23pub mod debug;
24#[cfg(not(feature = "kernel"))]
25pub mod fd;
26#[cfg(not(feature = "kernel"))]
27pub mod info;
28#[cfg(not(feature = "kernel"))]
29pub mod io;
30#[cfg(not(feature = "kernel"))]
31pub mod random;
32#[cfg(not(feature = "kernel"))]
33pub mod thread;
34#[cfg(not(feature = "kernel"))]
35pub mod time;
36
37#[allow(
38    non_camel_case_types,
39    dead_code,
40    non_upper_case_globals,
41    improper_ctypes
42)]
43pub mod bindings;
44
45pub mod error;
46
47pub type Result<T> = ::core::result::Result<T, error::TwzError>;