From 4f446244155984a6674f69ab6e9d49704ab0c20d Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 9 May 2013 16:33:41 -0700 Subject: [PATCH] core: Move unstable to unstable/mod.rs --- src/libcore/core.rc | 1 + src/libcore/{unstable.rs => unstable/mod.rs} | 9 --------- 2 files changed, 1 insertion(+), 9 deletions(-) rename src/libcore/{unstable.rs => unstable/mod.rs} (96%) 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 similarity index 96% rename from src/libcore/unstable.rs rename to 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;