rust/src/libcore
Alex Crichton a7bee7b05d Add a crate for missing stubs from libcore
The core library in theory has 0 dependencies, but in practice it has some in
order for it to be efficient. These dependencies are in the form of the basic
memory operations provided by libc traditionally, such as memset, memcmp, etc.
These functions are trivial to implement and themselves have 0 dependencies.

This commit adds a new crate, librlibc, which will serve the purpose of
providing these dependencies. The crate is never linked to by default, but is
available to be linked to by downstream consumers. Normally these functions are
provided by the system libc, but in other freestanding contexts a libc may not
be available. In these cases, librlibc will suffice for enabling execution with
libcore.

cc #10116
2014-05-15 13:50:37 -07:00
..
num core: Fix an unsigned negation warning 2014-05-07 08:17:05 -07:00
any.rs std: Move the owned module from core to std 2014-05-13 17:24:07 -07:00
atomics.rs core: Inherit the atomics module 2014-05-13 23:59:03 -07:00
bool.rs core: Get coretest working 2014-05-07 08:16:42 -07:00
cell.rs std: Small doc tweaks 2014-05-07 14:12:44 -07:00
char.rs std: Rename str::Normalizations to str::Decompositions 2014-05-13 17:24:07 -07:00
clone.rs std: Move the owned module from core to std 2014-05-13 17:24:07 -07:00
cmp.rs auto merge of #14133 : db48x/rust/ord-for-mut-refs, r=alexcrichton 2014-05-14 22:06:50 -07:00
container.rs core: Inherit the container module 2014-05-07 08:13:24 -07:00
default.rs std: Move the owned module from core to std 2014-05-13 17:24:07 -07:00
failure.rs core: Allow using failure outside of libcore 2014-05-13 23:59:03 -07:00
finally.rs core: Get coretest working 2014-05-07 08:16:42 -07:00
intrinsics.rs Register new snapshots 2014-05-09 21:13:02 -07:00
iter.rs std: Move the owned module from core to std 2014-05-13 17:24:07 -07:00
kinds.rs core: Remove the cast module 2014-05-11 01:13:02 -07:00
lib.rs Add a crate for missing stubs from libcore 2014-05-15 13:50:37 -07:00
macros.rs core: Allow using failure outside of libcore 2014-05-13 23:59:03 -07:00
mem.rs std: Move the owned module from core to std 2014-05-13 17:24:07 -07:00
ops.rs core: Inherit the ops module 2014-05-07 08:13:06 -07:00
option.rs Improved example code in Option 2014-05-12 19:52:29 -07:00
prelude.rs core: Get coretest working 2014-05-07 08:16:42 -07:00
ptr.rs core: Remove the cast module 2014-05-11 01:13:02 -07:00
raw.rs core: Remove the cast module 2014-05-11 01:13:02 -07:00
result.rs auto merge of #14068 : alexcrichton/rust/rustdoc-xcrate-links, r=brson 2014-05-10 03:36:30 -07:00
should_not_exist.rs core: Document should_not_exist's existence 2014-05-13 23:59:03 -07:00
slice.rs libcore: remove fails from slice.rs and remove duplicated length checking 2014-05-12 19:52:29 -07:00
str.rs io: Implement process wait timeouts 2014-05-13 17:27:42 -07:00
tuple.rs core: Get coretest working 2014-05-07 08:16:42 -07:00
ty.rs core: Remove the cast module 2014-05-11 01:13:02 -07:00
unicode.rs std: Rename str::Normalizations to str::Decompositions 2014-05-13 17:24:07 -07:00
unit.rs core: Inherit the unit module 2014-05-07 08:13:56 -07:00