|
9 | 9 | // except according to those terms.
|
10 | 10 |
|
11 | 11 | //! The Rust core library
|
| 12 | +//! |
| 13 | +//! This library is meant to represent the core functionality of rust that is |
| 14 | +//! maximally portable to other platforms. To that exent, this library has no |
| 15 | +//! knowledge of things like allocation, threads, I/O, etc. This library is |
| 16 | +//! built on the assumption of a few existing symbols: |
| 17 | +//! |
| 18 | +//! * `memcpy`, `memcmp`, `memset` - These are core memory routines which are |
| 19 | +//! often generated by LLVM. Additionally, this library can make explicit |
| 20 | +//! calls to these funcitons. Their signatures are the same as found in C. |
| 21 | +//! |
| 22 | +//! * `rust_begin_unwind` - This function takes three arguments, a |
| 23 | +//! `&fmt::Arguments`, a `&str`, and a `uint. These three arguments dictate |
| 24 | +//! the failure message, the file at which failure was invoked, and the line. |
| 25 | +//! It is up to consumers of this core library to define this failure |
| 26 | +//! function; it is only required to never return. |
| 27 | +//! |
| 28 | +//! Currently, it is *not* recommended to use the core library. The stable |
| 29 | +//! functionality of libcore is exported directly into the |
| 30 | +//! [standard library](../std/index.html). The composition of this library is |
| 31 | +//! subject to change over time, only the interface exposed through libstd is |
| 32 | +//! intended to be stable. |
12 | 33 |
|
13 | 34 | #![crate_id = "core#0.11.0-pre"]
|
14 | 35 | #![license = "MIT/ASL2"]
|
|
0 commit comments