about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-05-09 16:33:41 -0700
committerBrian Anderson <banderson@mozilla.com>2013-05-13 12:13:33 -0700
commit4f446244155984a6674f69ab6e9d49704ab0c20d (patch)
treebea0c63851db68832c31dab6c5bad5829276db35
parent1b883365bc0813f5775c8207e414b7973e947a76 (diff)
downloadrust-4f446244155984a6674f69ab6e9d49704ab0c20d.tar.gz
rust-4f446244155984a6674f69ab6e9d49704ab0c20d.zip
core: Move unstable to unstable/mod.rs
-rw-r--r--src/libcore/core.rc1
-rw-r--r--src/libcore/unstable/mod.rs (renamed from src/libcore/unstable.rs)9
2 files changed, 1 insertions, 9 deletions
diff --git a/src/libcore/core.rc b/src/libcore/core.rc
index d029fbc07f6..0b4c0cf8069 100644
--- a/src/libcore/core.rc
+++ b/src/libcore/core.rc
@@ -238,6 +238,7 @@ pub mod util;
 /* Unsupported interfaces */
 
 // Private APIs
+#[path = "unstable/mod.rs"]
 pub mod unstable;
 
 /* For internal use, not exported */
diff --git a/src/libcore/unstable.rs b/src/libcore/unstable/mod.rs
index 25e4d07b01d..ef7d70783c8 100644
--- a/src/libcore/unstable.rs
+++ b/src/libcore/unstable/mod.rs
@@ -18,23 +18,14 @@ use task;
 use task::atomically;
 use self::finally::Finally;
 
-#[path = "unstable/at_exit.rs"]
 pub mod at_exit;
-#[path = "unstable/global.rs"]
 pub mod global;
-#[path = "unstable/finally.rs"]
 pub mod finally;
-#[path = "unstable/weak_task.rs"]
 pub mod weak_task;
-#[path = "unstable/exchange_alloc.rs"]
 pub mod exchange_alloc;
-#[path = "unstable/intrinsics.rs"]
 pub mod intrinsics;
-#[path = "unstable/simd.rs"]
 pub mod simd;
-#[path = "unstable/extfmt.rs"]
 pub mod extfmt;
-#[path = "unstable/lang.rs"]
 #[cfg(not(test))]
 pub mod lang;