rust/src/libcore/core.rc

110 lines
1.8 KiB
Plaintext
Raw Normal View History

#[link(name = "core",
2012-03-22 17:25:02 -05:00
vers = "0.2",
uuid = "c70c24a7-5551-4f73-8e37-380b11d80be8",
url = "http://rust-lang.org/src/core")];
#[comment = "The Rust core library"];
#[license = "MIT"];
#[crate_type = "lib"];
// Don't link to core. We are core.
#[no_core];
2012-03-06 21:09:32 -06:00
#[doc = "
The Rust core library
2012-01-23 19:03:42 -06:00
The core library provides functionality that is closely tied to the Rust
built-in types and runtime services, or that is used in nearly every
non-trivial program.
2012-01-23 19:03:42 -06:00
It is linked by default to all crates and the contents imported. The effect is
as though the user had written the following:
use core;
import core::*;
2012-03-06 21:09:32 -06:00
This behavior can be disabled with the `no_core` crate attribute.
"];
2012-01-23 18:40:33 -06:00
export int, i8, i16, i32, i64;
export uint, u8, u16, u32, u64;
export float, f32, f64;
export box, char, str, ptr, vec, bool;
export either, option, result, iter;
export libc, os, io, run, rand, sys, unsafe, logging;
2012-02-19 01:03:18 -06:00
export comm, task, future;
export extfmt;
2012-01-17 12:43:29 -06:00
export tuple;
export to_str;
// Built-in-type support modules
mod box;
mod char;
mod float;
mod f32;
mod f64;
mod int;
mod i8;
mod i16;
mod i32;
mod i64;
mod str;
mod ptr;
mod uint;
mod u8;
mod u16;
mod u32;
mod u64;
mod vec;
mod bool;
// For internal use by char, not exported
mod unicode;
// Ubiquitous-utility-type modules
mod either;
mod option;
mod result;
2012-01-17 12:43:29 -06:00
mod tuple;
mod iter;
// Useful ifaces
mod to_str;
// Runtime and language-primitive support
mod libc;
2012-03-06 12:14:58 -06:00
mod os;
mod io;
mod run;
mod rand;
mod path;
mod cmath;
mod sys;
mod unsafe;
mod logging;
// Concurrency
mod comm;
mod task;
mod future;
// Compiler support modules
mod extfmt;
// Local Variables:
// mode: rust;
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// compile-command: "make -k -C .. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
// End: