Skip to content

Commit 242db8a

Browse files
committed
---
yaml --- r: 114111 b: refs/heads/master c: 57f3b6e h: refs/heads/master i: 114109: a0d2ec3 114107: c2f4ba3 114103: 1ecd75e 114095: 7cc842c 114079: d21f282 114047: 9c09d6a v: v3
1 parent 9bfc79f commit 242db8a

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 325cc5150243c3ceeafc6b0b3d3c7cc68bb003ac
2+
refs/heads/master: 57f3b6ee5c7c3261592342118b05b93409e285ce
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ec0258a381b88b5574e3f8ce72ae553ac3a574b7
55
refs/heads/try: 7c6c492fb2af9a85f21ff952942df3523b22fd17

trunk/src/libcore/lib.rs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,27 @@
99
// except according to those terms.
1010

1111
//! 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.
1233
1334
#![crate_id = "core#0.11.0-pre"]
1435
#![license = "MIT/ASL2"]

0 commit comments

Comments
 (0)