The Rust core library

The Rust core library provides runtime features required by the language, including the task scheduler and memory allocators, as well as library support for Rust built-in types, platform abstractions, and other commonly used features.

core includes modules corresponding to each of the integer types, each of the floating point types, the bool type, tuples, characters, strings, vectors (vec), managed boxes (managed), owned boxes (owned), and unsafe and borrowed pointers (ptr). Additionally, core provides task management and creation (task), communication primitives (comm and pipes), an efficient vector builder (dvec), platform abstractions (os and path), basic I/O abstractions (io), common traits (cmp, num, to_str), and complete bindings to the C standard library (libc).

core is linked to all crates by default and its contents imported. Implicitly, all crates behave as if they included the following prologue:

extern mod core;
use core::*;

Const debug

u32

The debug log level

Const error

u32

The error log level

Const info

u32

The info log level

Const warn

u32

The warning log level