lib.rs 340 B

12345678910111213141516171819
  1. //! Symbols and externs that `ralloc` depends on.
  2. //!
  3. //! This crate provides implementation/import of these in Linux, BSD, and Mac OS.
  4. #![cfg_attr(not(redox), feature(linkage))]
  5. #![no_std]
  6. #![warn(missing_docs)]
  7. #[cfg(redox)]
  8. mod redox;
  9. #[cfg(redox)]
  10. pub use redox::*;
  11. #[cfg(not(redox))]
  12. mod unix;
  13. #[cfg(not(redox))]
  14. pub use unix::*;