rust/src/lib/std.rc
2011-02-21 01:00:43 -05:00

70 lines
1.1 KiB
Plaintext

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.
mod _int;
mod _uint;
mod _u8;
mod _vec;
mod _str;
// General IO and system-services modules.
mod _io;
mod sys;
mod _task;
// Utility modules.
mod option;
mod util;
// Authorize various rule-bendings.
auth _io = unsafe;
auth _str = unsafe;
auth _vec = unsafe;
auth _task = unsafe;
auth dbg = unsafe;
auth _uint.next_power_of_two = unsafe;
auth map.mk_hashmap = unsafe;
auth rand.mk_rng = unsafe;
// Target-OS module.
alt (target_os) {
case ("win32") {
mod os = "win32_os.rs";
} case ("macos") {
mod os = "macos_os.rs";
} else {
mod os = "linux_os.rs";
}
}
// FIXME: parametric
mod map;
mod deque;
mod list;
mod rand;
mod dbg;
mod bitv;
mod sort;
mod path;
mod sha1;
// 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: