lib.rs 543 B

1234567891011121314151617181920212223
  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. #![cfg_attr(feature = "allocator", allocator)]
  6. #![no_std]
  7. #![feature(allocator, const_fn, core_intrinsics, stmt_expr_attributes, unique, iter_arith)]
  8. #![warn(missing_docs)]
  9. #[cfg(target_os = "redox")]
  10. extern crate system;
  11. #[cfg(not(target_os = "redox"))]
  12. #[macro_use]
  13. extern crate syscall;
  14. pub mod allocator;
  15. pub mod block;
  16. pub mod bookkeeper;
  17. pub mod fail;
  18. pub mod sys;