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.
|
|
|
|
|
|
|
|
mod _int;
|
|
|
|
mod _u8;
|
|
|
|
mod _vec;
|
|
|
|
mod _str;
|
|
|
|
|
|
|
|
// General IO and system-services modules.
|
|
|
|
|
|
|
|
mod _io;
|
|
|
|
mod sys;
|
|
|
|
|
2010-07-05 16:38:02 -05:00
|
|
|
// Utility modules.
|
|
|
|
|
|
|
|
mod util;
|
|
|
|
|
2010-06-23 23:03:09 -05:00
|
|
|
// Authorize various rule-bendings.
|
|
|
|
|
|
|
|
auth _io = unsafe;
|
|
|
|
auth _str = unsafe;
|
|
|
|
auth _vec = unsafe;
|
|
|
|
|
2010-07-16 20:14:52 -05:00
|
|
|
/**
|
|
|
|
* FIXME for some reason 'auth sys = unsafe' isn't enough here to silence
|
|
|
|
* the effect system about map.mk_hashmap.hashl and .hashr using
|
|
|
|
* sys.rustrt.size_of and thereby being unsafe.
|
|
|
|
*/
|
|
|
|
auth map.mk_hashmap = unsafe;
|
|
|
|
|
2010-06-23 23:03:09 -05:00
|
|
|
// 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";
|
|
|
|
}
|
|
|
|
}
|
2010-07-16 20:14:52 -05:00
|
|
|
|
|
|
|
mod map;
|