123456789101112131415161718192021222324 |
- //! Symbols and externs that `ralloc` depends on.
- //!
- //! This crate provides implementation/import of these in Linux, BSD, and Mac OS.
- //!
- //! # Important
- //!
- //! You CANNOT use libc library calls, due to no guarantees being made about allocations of the
- //! functions in the POSIX specification. Therefore, we use the system calls directly.
- #![feature(linkage, core_intrinsics)]
- #![no_std]
- #![warn(missing_docs)]
- #[cfg(not(target_os = "redox"))]
- #[macro_use]
- extern crate sc;
- #[cfg(target_os = "redox")]
- extern crate syscall;
- pub mod config;
- pub mod thread_destructor;
- pub mod debug;
- pub mod syscalls;
|