about summary refs log tree commit diff
diff options
context:
space:
mode:
-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;