about summary refs log tree commit diff
path: root/src/libcore/rt/mod.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-05-19 16:10:44 -0700
committerBrian Anderson <banderson@mozilla.com>2013-05-20 15:21:29 -0700
commit2f99fb8efad8803801628a507fe3ac06a70c7871 (patch)
tree4d758ebb7bc9915d7caf8f651df8350c6219686d /src/libcore/rt/mod.rs
parent06f1a64bd6e417b73f1b812b860271e86bb42b47 (diff)
downloadrust-2f99fb8efad8803801628a507fe3ac06a70c7871.tar.gz
rust-2f99fb8efad8803801628a507fe3ac06a70c7871.zip
core::rt: Remove local_sched module
Diffstat (limited to 'src/libcore/rt/mod.rs')
-rw-r--r--src/libcore/rt/mod.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/libcore/rt/mod.rs b/src/libcore/rt/mod.rs
index c8532f6b94a..2fac1df01a4 100644
--- a/src/libcore/rt/mod.rs
+++ b/src/libcore/rt/mod.rs
@@ -67,9 +67,6 @@ pub mod task;
 /// The coroutine task scheduler, built on the `io` event loop.
 mod sched;
 
-/// Thread-local access to the current Scheduler.
-pub mod local_sched;
-
 /// Synchronous I/O.
 #[path = "io/mod.rs"]
 pub mod io;
@@ -189,7 +186,7 @@ pub fn context() -> RuntimeContext {
 
     use task::rt::rust_task;
     use self::local::Local;
-    use self::sched::{local_sched, Scheduler};
+    use self::sched::Scheduler;
 
     // XXX: Hitting TLS twice to check if the scheduler exists
     // then to check for the task is not good for perf
@@ -220,7 +217,7 @@ pub fn context() -> RuntimeContext {
 #[test]
 fn test_context() {
     use unstable::run_in_bare_thread;
-    use self::sched::{local_sched, Scheduler, Coroutine};
+    use self::sched::{Scheduler, Coroutine};
     use rt::uv::uvio::UvEventLoop;
     use cell::Cell;
     use rt::local::Local;