rust/src/lib/std.rc

106 lines
1.7 KiB
Plaintext
Raw Normal View History

#[link(name = "std",
vers = "0.1",
uuid = "122bed0b-c19b-4b82-b0b7-7ae8aead7297",
url = "http://rust-lang.org/src/std")];
#[comment = "Rust standard library"];
#[license = "BSD"];
2010-06-23 23:03:09 -05:00
// Built-in types support modules.
2011-08-01 18:58:19 -05:00
mod char;
mod int;
mod uint;
mod u8;
mod u64;
2011-08-15 18:38:23 -05:00
mod vec;
2011-08-22 20:06:44 -05:00
mod istr;
2010-06-23 23:03:09 -05:00
// General io and system-services modules.
2010-06-23 23:03:09 -05:00
2011-08-11 21:14:38 -05:00
mod io;
mod sys;
mod task;
mod comm;
2010-06-23 23:03:09 -05:00
// Utility modules.
mod either;
mod option;
mod util;
2010-06-23 23:03:09 -05:00
// Authorize various rule-bendings.
auth io = unsafe;
auth fs = unsafe;
auth os_fs = unsafe;
auth run = unsafe;
auth str = unsafe;
auth vec = unsafe;
auth task = unsafe;
2010-06-23 23:03:09 -05:00
auth dbg = unsafe;
auth uint::next_power_of_two = unsafe;
auth map::mk_hashmap = unsafe;
auth rand::mk_rng = unsafe;
// Target-os module.
2010-06-23 23:03:09 -05:00
// TODO: Have each os module re-export everything from genericos.
mod generic_os;
#[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";
mod run = "run_program.rs";
mod fs;
2011-06-16 00:04:31 -05:00
mod aio;
mod sio;
mod net;
// FIXME: parametric
mod map;
mod treemap;
mod fun_treemap;
mod deque;
mod list;
mod rand;
mod dbg;
mod bitv;
mod sort;
mod sha1;
mod ebml;
mod ufind;
mod extifmt;
mod box;
mod getopts;
mod time;
mod smallintmap;
mod ptr;
mod test;
mod unsafe;
2011-08-12 00:55:08 -05:00
mod term;
// 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: