2010-06-23 23:03:09 -05:00
|
|
|
meta (name = "std",
|
|
|
|
desc = "Rust standard library",
|
|
|
|
uuid = "122bed0b-c19b-4b82-b0b7-7ae8aead7297",
|
|
|
|
url = "http://rust-lang.org/src/std",
|
|
|
|
ver = "0.0.1");
|
|
|
|
|
|
|
|
// Built-in types support modules.
|
|
|
|
|
2011-05-12 10:24:54 -05:00
|
|
|
mod _int;
|
|
|
|
mod _uint;
|
|
|
|
mod _u8;
|
|
|
|
mod _vec;
|
|
|
|
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;
|
|
|
|
mod _task;
|
2010-06-23 23:03:09 -05:00
|
|
|
|
2010-07-05 16:38:02 -05:00
|
|
|
// Utility modules.
|
|
|
|
|
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;
|
|
|
|
auth _str = unsafe;
|
|
|
|
auth _vec = unsafe;
|
|
|
|
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-12 10:24:54 -05:00
|
|
|
auth _uint::next_power_of_two = unsafe;
|
|
|
|
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
|
|
|
|
2010-06-23 23:03:09 -05:00
|
|
|
alt (target_os) {
|
2010-09-22 17:44:13 -05:00
|
|
|
case ("win32") {
|
2011-05-12 10:24:54 -05:00
|
|
|
mod os = "win32_os.rs";
|
|
|
|
mod os_fs = "win32_fs.rs";
|
2010-09-22 17:44:13 -05:00
|
|
|
} case ("macos") {
|
2011-05-12 10:24:54 -05:00
|
|
|
mod os = "macos_os.rs";
|
|
|
|
mod os_fs = "posix_fs.rs";
|
2011-05-13 14:30:08 -05:00
|
|
|
} case (_) {
|
2011-05-12 10:24:54 -05:00
|
|
|
mod os = "linux_os.rs";
|
|
|
|
mod os_fs = "posix_fs.rs";
|
2010-09-22 17:44:13 -05:00
|
|
|
}
|
2011-03-10 08:56:51 -06:00
|
|
|
}
|
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;
|
|
|
|
mod extfmt;
|
|
|
|
mod box;
|
|
|
|
mod getopts;
|
|
|
|
mod term;
|
|
|
|
mod time;
|
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:
|