2012-09-20 01:52:32 +02:00
|
|
|
/*!
|
|
|
|
|
|
|
|
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`), shared boxes (`box`), and unsafe and borrowed pointers
|
2012-09-20 02:17:00 +02:00
|
|
|
(`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`).
|
2012-09-20 01:52:32 +02:00
|
|
|
|
2012-09-20 02:17:00 +02:00
|
|
|
`core` is linked to all crates by default and its contents imported.
|
|
|
|
Implicitly, all crates behave as if they included the following prologue:
|
2012-09-20 01:52:32 +02:00
|
|
|
|
|
|
|
extern mod core;
|
|
|
|
use core::*;
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2011-12-06 01:46:37 +01:00
|
|
|
#[link(name = "core",
|
2012-08-30 23:05:49 +02:00
|
|
|
vers = "0.4",
|
2011-12-06 01:46:37 +01:00
|
|
|
uuid = "c70c24a7-5551-4f73-8e37-380b11d80be8",
|
2012-03-28 22:42:17 +02:00
|
|
|
url = "https://github.com/mozilla/rust/tree/master/src/libcore")];
|
2011-12-06 01:46:37 +01:00
|
|
|
|
|
|
|
#[comment = "The Rust core library"];
|
2012-01-09 01:21:43 +01:00
|
|
|
#[license = "MIT"];
|
2011-12-09 06:08:23 +01:00
|
|
|
#[crate_type = "lib"];
|
2011-12-06 01:46:37 +01:00
|
|
|
|
2012-04-19 10:00:52 +02:00
|
|
|
// Don't link to core. We are core.
|
|
|
|
#[no_core];
|
|
|
|
|
2012-09-19 00:52:21 +02:00
|
|
|
#[legacy_modes];
|
|
|
|
|
2012-09-03 01:21:57 +02:00
|
|
|
#[warn(vecs_implicitly_copyable)];
|
2012-09-09 23:51:56 +02:00
|
|
|
#[deny(non_camel_case_types)];
|
2012-06-05 03:34:24 +02:00
|
|
|
|
2012-02-12 08:18:26 +01:00
|
|
|
export int, i8, i16, i32, i64;
|
|
|
|
export uint, u8, u16, u32, u64;
|
|
|
|
export float, f32, f64;
|
2012-07-18 01:31:19 +02:00
|
|
|
export box, char, str, ptr, vec, at_vec, bool;
|
2012-02-01 03:52:20 +01:00
|
|
|
export either, option, result, iter;
|
2012-09-19 02:34:08 +02:00
|
|
|
export gc, io, libc, os, run, rand, sys, cast, logging;
|
2012-08-11 00:20:03 +02:00
|
|
|
export comm, task, future, pipes;
|
2011-12-14 01:25:51 +01:00
|
|
|
export extfmt;
|
2012-07-11 00:52:05 +02:00
|
|
|
// The test harness links against core, so don't include runtime in tests.
|
|
|
|
// FIXME (#2861): Uncomment this after snapshot gets updated.
|
|
|
|
//#[cfg(notest)]
|
|
|
|
export rt;
|
2012-01-17 19:43:29 +01:00
|
|
|
export tuple;
|
2012-07-05 23:38:59 +02:00
|
|
|
export to_str, to_bytes;
|
2012-09-03 22:09:24 +02:00
|
|
|
export from_str;
|
2012-08-02 01:12:23 +02:00
|
|
|
export util;
|
2012-05-10 02:30:31 +02:00
|
|
|
export dvec, dvec_iter;
|
2012-07-14 07:24:26 +02:00
|
|
|
export dlist, dlist_iter;
|
2012-07-30 19:55:44 +02:00
|
|
|
export send_map;
|
2012-07-24 23:32:06 +02:00
|
|
|
export hash;
|
2012-06-06 23:19:52 +02:00
|
|
|
export cmp;
|
2012-06-08 01:08:38 +02:00
|
|
|
export num;
|
2012-08-29 22:25:31 +02:00
|
|
|
export path;
|
2012-09-11 01:34:31 +02:00
|
|
|
export mutable;
|
2012-08-28 22:59:48 +02:00
|
|
|
export flate;
|
2012-08-28 01:26:35 +02:00
|
|
|
export unit;
|
|
|
|
export uniq;
|
2012-09-13 02:59:29 +02:00
|
|
|
export repr;
|
2012-09-15 01:49:23 +02:00
|
|
|
export cleanup;
|
2012-09-15 04:09:38 +02:00
|
|
|
export reflect;
|
2011-12-14 01:25:51 +01:00
|
|
|
|
2012-04-12 06:45:18 +02:00
|
|
|
// NDM seems to be necessary for resolve to work
|
2012-06-03 04:03:28 +02:00
|
|
|
export option_iter;
|
2012-04-12 06:45:18 +02:00
|
|
|
|
2012-08-21 21:28:24 +02:00
|
|
|
// This creates some APIs that I do not want to commit to, but it must be
|
|
|
|
// exported from core in order for uv to remain in std (see #2648).
|
2012-09-12 03:17:13 +02:00
|
|
|
export private;
|
2012-04-05 06:17:50 +02:00
|
|
|
|
2012-04-19 10:00:52 +02:00
|
|
|
|
2011-12-14 01:25:51 +01:00
|
|
|
// Built-in-type support modules
|
|
|
|
|
2012-07-04 23:53:12 +02:00
|
|
|
/// Operations and constants for `int`
|
2012-09-27 03:46:12 +02:00
|
|
|
#[legacy_exports]
|
2012-04-15 02:21:10 +02:00
|
|
|
#[path = "int-template"]
|
|
|
|
mod int {
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports];
|
2012-09-20 01:35:28 +02:00
|
|
|
use inst::{ pow };
|
|
|
|
export pow;
|
2012-04-15 02:21:10 +02:00
|
|
|
#[path = "int.rs"]
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-04-15 02:21:10 +02:00
|
|
|
mod inst;
|
|
|
|
}
|
|
|
|
|
2012-07-04 23:53:12 +02:00
|
|
|
/// Operations and constants for `i8`
|
2012-09-27 03:46:12 +02:00
|
|
|
#[legacy_exports]
|
2012-04-15 02:21:10 +02:00
|
|
|
#[path = "int-template"]
|
|
|
|
mod i8 {
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports];
|
2012-04-15 02:21:10 +02:00
|
|
|
#[path = "i8.rs"]
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-04-15 02:21:10 +02:00
|
|
|
mod inst;
|
|
|
|
}
|
|
|
|
|
2012-07-04 23:53:12 +02:00
|
|
|
/// Operations and constants for `i16`
|
2012-09-27 03:46:12 +02:00
|
|
|
#[legacy_exports]
|
2012-04-15 02:21:10 +02:00
|
|
|
#[path = "int-template"]
|
|
|
|
mod i16 {
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports];
|
2012-04-15 02:21:10 +02:00
|
|
|
#[path = "i16.rs"]
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-04-15 02:21:10 +02:00
|
|
|
mod inst;
|
|
|
|
}
|
|
|
|
|
2012-07-04 23:53:12 +02:00
|
|
|
/// Operations and constants for `i32`
|
2012-09-27 03:46:12 +02:00
|
|
|
#[legacy_exports]
|
2012-04-15 02:21:10 +02:00
|
|
|
#[path = "int-template"]
|
|
|
|
mod i32 {
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports];
|
2012-04-15 02:21:10 +02:00
|
|
|
#[path = "i32.rs"]
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-04-15 02:21:10 +02:00
|
|
|
mod inst;
|
|
|
|
}
|
|
|
|
|
2012-07-04 23:53:12 +02:00
|
|
|
/// Operations and constants for `i64`
|
2012-09-27 03:46:12 +02:00
|
|
|
#[legacy_exports]
|
2012-04-15 02:21:10 +02:00
|
|
|
#[path = "int-template"]
|
|
|
|
mod i64 {
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports];
|
2012-04-15 02:21:10 +02:00
|
|
|
#[path = "i64.rs"]
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-04-15 02:21:10 +02:00
|
|
|
mod inst;
|
|
|
|
}
|
|
|
|
|
2012-07-04 23:53:12 +02:00
|
|
|
/// Operations and constants for `uint`
|
2012-09-27 03:46:12 +02:00
|
|
|
#[legacy_exports]
|
2012-04-15 07:07:45 +02:00
|
|
|
#[path = "uint-template"]
|
|
|
|
mod uint {
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports];
|
2012-09-08 03:08:21 +02:00
|
|
|
use inst::{
|
2012-09-20 01:35:28 +02:00
|
|
|
div_ceil, div_round, div_floor, iterate,
|
2012-05-16 07:50:29 +02:00
|
|
|
next_power_of_two
|
2012-04-15 07:07:45 +02:00
|
|
|
};
|
2012-09-20 01:35:28 +02:00
|
|
|
export div_ceil, div_round, div_floor, iterate,
|
2012-05-16 07:50:29 +02:00
|
|
|
next_power_of_two;
|
2012-04-15 07:07:45 +02:00
|
|
|
|
|
|
|
#[path = "uint.rs"]
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-04-15 07:07:45 +02:00
|
|
|
mod inst;
|
|
|
|
}
|
|
|
|
|
2012-07-04 23:53:12 +02:00
|
|
|
/// Operations and constants for `u8`
|
2012-09-27 03:46:12 +02:00
|
|
|
#[legacy_exports]
|
2012-04-15 07:07:45 +02:00
|
|
|
#[path = "uint-template"]
|
|
|
|
mod u8 {
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports];
|
2012-09-08 03:08:21 +02:00
|
|
|
use inst::is_ascii;
|
2012-04-15 07:07:45 +02:00
|
|
|
export is_ascii;
|
|
|
|
|
|
|
|
#[path = "u8.rs"]
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-04-15 07:07:45 +02:00
|
|
|
mod inst;
|
|
|
|
}
|
|
|
|
|
2012-07-04 23:53:12 +02:00
|
|
|
/// Operations and constants for `u16`
|
2012-09-27 03:46:12 +02:00
|
|
|
#[legacy_exports]
|
2012-04-15 07:07:45 +02:00
|
|
|
#[path = "uint-template"]
|
|
|
|
mod u16 {
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports];
|
2012-04-15 07:07:45 +02:00
|
|
|
#[path = "u16.rs"]
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-04-15 07:07:45 +02:00
|
|
|
mod inst;
|
|
|
|
}
|
|
|
|
|
2012-07-04 23:53:12 +02:00
|
|
|
/// Operations and constants for `u32`
|
2012-09-27 03:46:12 +02:00
|
|
|
#[legacy_exports]
|
2012-04-15 07:07:45 +02:00
|
|
|
#[path = "uint-template"]
|
|
|
|
mod u32 {
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports];
|
2012-04-15 07:07:45 +02:00
|
|
|
#[path = "u32.rs"]
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-04-15 07:07:45 +02:00
|
|
|
mod inst;
|
|
|
|
}
|
|
|
|
|
2012-07-04 23:53:12 +02:00
|
|
|
/// Operations and constants for `u64`
|
2012-09-27 03:46:12 +02:00
|
|
|
#[legacy_exports]
|
2012-04-15 07:07:45 +02:00
|
|
|
#[path = "uint-template"]
|
|
|
|
mod u64 {
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports];
|
2012-04-15 07:07:45 +02:00
|
|
|
#[path = "u64.rs"]
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-04-15 07:07:45 +02:00
|
|
|
mod inst;
|
|
|
|
}
|
|
|
|
|
2012-04-19 10:00:52 +02:00
|
|
|
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2011-12-14 01:25:51 +01:00
|
|
|
mod box;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2011-12-14 01:25:51 +01:00
|
|
|
mod char;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2011-12-14 01:25:51 +01:00
|
|
|
mod float;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2011-12-14 02:52:02 +01:00
|
|
|
mod f32;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2011-12-14 02:52:02 +01:00
|
|
|
mod f64;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2011-12-14 01:25:51 +01:00
|
|
|
mod str;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2011-12-14 01:25:51 +01:00
|
|
|
mod ptr;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2011-12-14 01:25:51 +01:00
|
|
|
mod vec;
|
2012-07-18 01:31:19 +02:00
|
|
|
mod at_vec;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2011-12-14 01:25:51 +01:00
|
|
|
mod bool;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-04-19 10:00:52 +02:00
|
|
|
mod tuple;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-08-28 01:26:35 +02:00
|
|
|
mod unit;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-08-28 01:26:35 +02:00
|
|
|
mod uniq;
|
2011-12-14 01:25:51 +01:00
|
|
|
|
|
|
|
// Ubiquitous-utility-type modules
|
|
|
|
|
2012-07-28 23:13:08 +02:00
|
|
|
#[cfg(notest)]
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-07-26 03:36:18 +02:00
|
|
|
mod ops;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-06-06 23:19:52 +02:00
|
|
|
mod cmp;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-06-08 01:08:38 +02:00
|
|
|
mod num;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-07-24 23:32:06 +02:00
|
|
|
mod hash;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2011-12-14 01:25:51 +01:00
|
|
|
mod either;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-04-19 10:00:52 +02:00
|
|
|
mod iter;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-04-19 10:00:52 +02:00
|
|
|
mod logging;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2011-12-14 01:25:51 +01:00
|
|
|
mod option;
|
2012-04-12 06:45:18 +02:00
|
|
|
#[path="iter-trait"]
|
|
|
|
mod option_iter {
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports];
|
2012-04-12 06:45:18 +02:00
|
|
|
#[path = "option.rs"]
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-04-12 06:45:18 +02:00
|
|
|
mod inst;
|
|
|
|
}
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2011-12-14 01:25:51 +01:00
|
|
|
mod result;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-04-19 10:00:52 +02:00
|
|
|
mod to_str;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-07-05 23:40:45 +02:00
|
|
|
mod to_bytes;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-09-03 22:09:24 +02:00
|
|
|
mod from_str;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-08-02 01:04:43 +02:00
|
|
|
mod util;
|
|
|
|
|
|
|
|
// Data structure modules
|
|
|
|
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-05-10 02:30:31 +02:00
|
|
|
mod dvec;
|
|
|
|
#[path="iter-trait"]
|
|
|
|
mod dvec_iter {
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports];
|
2012-05-10 02:30:31 +02:00
|
|
|
#[path = "dvec.rs"]
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-05-10 02:30:31 +02:00
|
|
|
mod inst;
|
|
|
|
}
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-06-30 06:21:15 +02:00
|
|
|
mod dlist;
|
|
|
|
#[path="iter-trait"]
|
|
|
|
mod dlist_iter {
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports];
|
2012-06-30 06:21:15 +02:00
|
|
|
#[path ="dlist.rs"]
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-06-30 06:21:15 +02:00
|
|
|
mod inst;
|
|
|
|
}
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-07-30 19:55:44 +02:00
|
|
|
mod send_map;
|
2012-02-22 13:06:38 +01:00
|
|
|
|
2012-04-19 10:00:52 +02:00
|
|
|
// Concurrency
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-04-19 10:00:52 +02:00
|
|
|
mod comm;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-09-20 02:29:54 +02:00
|
|
|
mod task {
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports];
|
|
|
|
#[legacy_exports]
|
2012-09-20 02:29:54 +02:00
|
|
|
mod local_data;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-09-20 02:37:09 +02:00
|
|
|
mod local_data_priv;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-09-20 02:57:32 +02:00
|
|
|
mod spawn;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-09-20 02:57:32 +02:00
|
|
|
mod rt;
|
2012-09-20 02:29:54 +02:00
|
|
|
}
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-04-19 10:00:52 +02:00
|
|
|
mod future;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-06-30 03:15:28 +02:00
|
|
|
mod pipes;
|
2012-02-22 13:06:38 +01:00
|
|
|
|
2011-12-14 01:25:51 +01:00
|
|
|
// Runtime and language-primitive support
|
|
|
|
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-07-16 21:28:15 +02:00
|
|
|
mod gc;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-04-19 10:00:52 +02:00
|
|
|
mod io;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-02-28 02:22:42 +01:00
|
|
|
mod libc;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-03-06 19:14:58 +01:00
|
|
|
mod os;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-03-03 02:20:00 +01:00
|
|
|
mod path;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-04-19 10:00:52 +02:00
|
|
|
mod rand;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-04-19 10:00:52 +02:00
|
|
|
mod run;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2011-12-14 01:25:51 +01:00
|
|
|
mod sys;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-09-19 02:34:08 +02:00
|
|
|
mod cast;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-09-11 01:34:31 +02:00
|
|
|
mod mutable;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-08-28 22:59:48 +02:00
|
|
|
mod flate;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-09-13 02:59:29 +02:00
|
|
|
mod repr;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-09-15 01:49:23 +02:00
|
|
|
mod cleanup;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-09-15 04:09:38 +02:00
|
|
|
mod reflect;
|
2012-08-28 22:59:48 +02:00
|
|
|
|
2012-04-19 10:00:52 +02:00
|
|
|
// Modules supporting compiler-generated code
|
|
|
|
// Exported but not part of the public interface
|
2011-12-14 01:25:51 +01:00
|
|
|
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2011-12-14 01:25:51 +01:00
|
|
|
mod extfmt;
|
2012-07-11 00:52:05 +02:00
|
|
|
// The test harness links against core, so don't include runtime in tests.
|
|
|
|
#[cfg(notest)]
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-07-11 00:52:05 +02:00
|
|
|
mod rt;
|
2011-12-14 01:25:51 +01:00
|
|
|
|
|
|
|
|
2012-04-19 10:00:52 +02:00
|
|
|
// For internal use, not exported
|
|
|
|
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-04-19 10:00:52 +02:00
|
|
|
mod unicode;
|
2012-09-22 03:10:45 +02:00
|
|
|
#[legacy_exports]
|
2012-09-12 03:17:13 +02:00
|
|
|
mod private;
|
2012-04-19 10:00:52 +02:00
|
|
|
mod cmath;
|
2012-06-06 03:47:18 +02:00
|
|
|
mod stackwalk;
|
2012-04-19 10:00:52 +02:00
|
|
|
|
2011-12-06 01:46:37 +01:00
|
|
|
// Local Variables:
|
|
|
|
// mode: rust;
|
|
|
|
// fill-column: 78;
|
|
|
|
// indent-tabs-mode: nil
|
|
|
|
// c-basic-offset: 4
|
|
|
|
// buffer-file-coding-system: utf-8-unix
|
|
|
|
// End:
|