mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 02:27:39 +03:00
std::rt: Remove in incorrect assert
This commit is contained in:
@@ -148,7 +148,9 @@ fn run(~self) -> ~Scheduler {
|
||||
}
|
||||
|
||||
let sched = Local::take::<Scheduler>();
|
||||
assert!(sched.work_queue.is_empty());
|
||||
// XXX: Reenable this once we're using a per-task queue. With a shared
|
||||
// queue this is not true
|
||||
//assert!(sched.work_queue.is_empty());
|
||||
rtdebug!("scheduler metrics: %s\n", sched.metrics.to_str());
|
||||
return sched;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user