2011-06-28 14:53:59 -05:00
|
|
|
|
|
|
|
#[link(name = "std",
|
|
|
|
vers = "0.1",
|
|
|
|
uuid = "122bed0b-c19b-4b82-b0b7-7ae8aead7297",
|
|
|
|
url = "http://rust-lang.org/src/std")];
|
|
|
|
|
2011-06-18 18:44:53 -05:00
|
|
|
#[comment = "Rust standard library"];
|
|
|
|
#[license = "BSD"];
|
2010-06-23 23:03:09 -05:00
|
|
|
|
|
|
|
// Built-in types support modules.
|
|
|
|
|
2011-05-17 13:41:41 -05:00
|
|
|
mod int;
|
|
|
|
mod uint;
|
|
|
|
mod u8;
|
2011-07-08 14:18:54 -05:00
|
|
|
mod u64;
|
2011-05-17 13:41:41 -05:00
|
|
|
mod vec;
|
2011-06-16 18:08:26 -05:00
|
|
|
mod ivec;
|
2011-05-17 13:41:41 -05:00
|
|
|
mod str;
|
2010-06-23 23:03:09 -05:00
|
|
|
|
2011-05-12 10:24:54 -05:00
|
|
|
// General io and system-services modules.
|
2010-06-23 23:03:09 -05:00
|
|
|
|
2011-05-12 10:24:54 -05:00
|
|
|
mod io;
|
|
|
|
mod sys;
|
2011-05-31 19:44:54 -05:00
|
|
|
mod task;
|
2010-06-23 23:03:09 -05:00
|
|
|
|
2010-07-05 16:38:02 -05:00
|
|
|
// Utility modules.
|
|
|
|
|
2011-06-15 14:46:30 -05:00
|
|
|
mod either;
|
2011-05-12 10:24:54 -05:00
|
|
|
mod option;
|
|
|
|
mod util;
|
2010-07-05 16:38:02 -05:00
|
|
|
|
2010-06-23 23:03:09 -05:00
|
|
|
// Authorize various rule-bendings.
|
|
|
|
|
2011-05-12 10:24:54 -05:00
|
|
|
auth io = unsafe;
|
|
|
|
auth fs = unsafe;
|
|
|
|
auth os_fs = unsafe;
|
|
|
|
auth run = unsafe;
|
2011-05-17 13:41:41 -05:00
|
|
|
auth str = unsafe;
|
|
|
|
auth vec = unsafe;
|
2011-05-31 19:44:54 -05:00
|
|
|
auth task = unsafe;
|
2010-06-23 23:03:09 -05:00
|
|
|
|
2011-05-12 10:24:54 -05:00
|
|
|
auth dbg = unsafe;
|
2010-08-24 20:37:42 -05:00
|
|
|
|
2011-05-17 13:41:41 -05:00
|
|
|
auth uint::next_power_of_two = unsafe;
|
2011-05-12 10:24:54 -05:00
|
|
|
auth map::mk_hashmap = unsafe;
|
|
|
|
auth rand::mk_rng = unsafe;
|
2010-07-16 20:14:52 -05:00
|
|
|
|
2011-05-12 10:24:54 -05:00
|
|
|
// Target-os module.
|
2010-06-23 23:03:09 -05:00
|
|
|
|
2011-05-12 10:24:54 -05:00
|
|
|
// TODO: Have each os module re-export everything from genericos.
|
|
|
|
mod generic_os;
|
2011-04-28 16:53:23 -05:00
|
|
|
|
2011-06-30 16:12:11 -05:00
|
|
|
#[cfg(target_os = "win32")]
|
|
|
|
mod os = "win32_os.rs";
|
|
|
|
#[cfg(target_os = "win32")]
|
|
|
|
mod os_fs = "win32_fs.rs";
|
|
|
|
|
|
|
|
#[cfg(target_os = "macos")]
|
|
|
|
mod os = "macos_os.rs";
|
|
|
|
#[cfg(target_os = "macos")]
|
|
|
|
mod os_fs = "posix_fs.rs";
|
|
|
|
|
|
|
|
#[cfg(target_os = "linux")]
|
|
|
|
mod os = "linux_os.rs";
|
|
|
|
#[cfg(target_os = "linux")]
|
|
|
|
mod os_fs = "posix_fs.rs";
|
2011-04-28 16:53:23 -05:00
|
|
|
|
2011-05-12 10:24:54 -05:00
|
|
|
mod run = "run_program.rs";
|
|
|
|
mod fs;
|
2011-03-10 08:56:51 -06:00
|
|
|
|
2010-10-16 00:09:09 -05:00
|
|
|
// FIXME: parametric
|
2011-05-12 10:24:54 -05:00
|
|
|
mod map;
|
|
|
|
mod deque;
|
|
|
|
mod list;
|
|
|
|
mod rand;
|
|
|
|
mod dbg;
|
|
|
|
mod bitv;
|
|
|
|
mod sort;
|
|
|
|
mod sha1;
|
|
|
|
mod ebml;
|
|
|
|
mod ufind;
|
2011-07-08 13:43:14 -05:00
|
|
|
mod ufindivec;
|
2011-05-12 10:24:54 -05:00
|
|
|
mod extfmt;
|
|
|
|
mod box;
|
|
|
|
mod getopts;
|
|
|
|
mod term;
|
|
|
|
mod time;
|
2011-06-03 18:14:29 -05:00
|
|
|
mod smallintmap;
|
2011-07-08 23:55:43 -05:00
|
|
|
mod ptr;
|
2011-07-09 18:08:03 -05:00
|
|
|
mod test;
|
2010-09-22 17:44:13 -05:00
|
|
|
|
|
|
|
// 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:
|