xref: /relibc/ralloc/src/lib.rs (revision 7e2039cf02971c0450fb490b64f1257f983bea31)
1 //! **Ralloc:** The memory efficient allocator.
2 //!
3 //! This crates define the user space allocator for Redox, which emphasizes performance and memory
4 //! efficiency.
5 
6 #![cfg_attr(feature = "allocator", allocator)]
7 #![no_std]
8 
9 #![feature(allocator, const_fn, core_intrinsics, stmt_expr_attributes, unique, iter_arith)]
10 
11 #![warn(missing_docs)]
12 
13 #[cfg(target_os = "redox")]
14 extern crate system;
15 #[cfg(not(target_os = "redox"))]
16 #[macro_use]
17 extern crate syscall;
18 
19 pub mod allocator;
20 pub mod block;
21 pub mod bookkeeper;
22 pub mod fail;
23 pub mod sys;
24