libcore for low-level Rust

Minimum Rust version: 1.6

Rust’s standard library is two-tiered: there’s a small core library,libcore, and the full standard library, libstd, that builds on top of it.libcore is completely platform agnostic, and requires only a handful ofexternal symbols to be defined. Rust’s libstd builds on top of libcore,adding support for things like memory allocation and I/O. Applications usingRust in the embedded space, as well as those writing operating systems, ofteneschew libstd, using only libcore.

As an additional note, while building libraries with libcore is supportedtoday, building full applications is not yet stable.

To use libcore, add this flag to your crate root:

  1. #![no_std]

This will remove the standard library, and bring the core crate into yournamespace for use:

  1. #![no_std]
  2. use core::cell::Cell;

You can find libcore's documentation here.