rust/src/libcore/core.rc

90 lines
1.7 KiB
Plaintext
Raw Normal View History

#[link(name = "core",
vers = "0.1",
uuid = "c70c24a7-5551-4f73-8e37-380b11d80be8",
url = "http://rust-lang.org/src/core")];
#[comment = "The Rust core library"];
#[license = "MIT"];
#[crate_type = "lib"];
2012-01-24 01:40:33 +01:00
#[doc(
brief = "The Rust core library",
desc =
"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-24 01:49:29 +01:00
\n\n\
2012-01-24 01:40:33 +01:00
The core library is linked by default to all crates and the contents \
imported. The effect is as though the user had written the following: \
2012-01-24 01:49:29 +01:00
\n\n\
~~~\n\
use core; \n\
import core::*;\n\
~~~\n\
\n\
2012-01-24 01:40:33 +01:00
This behavior can be disabled with the `--no-core` compiler flag."
)];
export box, char, float, bessel, f32, f64, int, str, ptr;
export uint, u8, u32, u64, vec, bool;
export either, option, result;
export ctypes, sys, unsafe, comm, task, logging;
export extfmt;
export math;
2012-01-17 19:43:29 +01:00
export tuple;
// Built-in-type support modules
mod box;
mod char;
mod float;
mod bessel;
mod f32;
mod f64;
mod int;
mod str;
mod ptr;
mod uint;
mod u8;
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 19:43:29 +01:00
mod tuple;
// Runtime and language-primitive support
mod ctypes;
mod math;
mod cmath;
mod sys;
mod unsafe;
mod comm;
mod task;
mod logging;
// 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: