aboutsummaryrefslogtreecommitdiff
path: root/src/lib/std.rc
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-06-23 21:03:09 -0700
committerGraydon Hoare <[email protected]>2010-06-23 21:03:09 -0700
commitd6b7c96c3eb29b9244ece0c046d3f372ff432d04 (patch)
treeb425187e232966063ffc2f0d14c04a55d8f004ef /src/lib/std.rc
parentInitial git commit. (diff)
downloadrust-d6b7c96c3eb29b9244ece0c046d3f372ff432d04.tar.xz
rust-d6b7c96c3eb29b9244ece0c046d3f372ff432d04.zip
Populate tree.
Diffstat (limited to 'src/lib/std.rc')
-rw-r--r--src/lib/std.rc35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/lib/std.rc b/src/lib/std.rc
new file mode 100644
index 00000000..3ddfc04c
--- /dev/null
+++ b/src/lib/std.rc
@@ -0,0 +1,35 @@
+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;
+
+// Authorize various rule-bendings.
+
+auth _io = unsafe;
+auth _str = unsafe;
+auth _vec = 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";
+ }
+}