Skip to content

Commit 2f8346b

Browse files
committed
std::rt: Remove the test for context()
This is no longer testable once newsched is turned on
1 parent a27f339 commit 2f8346b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/libstd/rt/mod.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -432,13 +432,3 @@ pub fn context() -> RuntimeContext {
432432
pub fn rust_try_get_task() -> *rust_task;
433433
}
434434
}
435-
436-
#[test]
437-
fn test_context() {
438-
use unstable::run_in_bare_thread;
439-
440-
assert_eq!(context(), OldTaskContext);
441-
do run_in_bare_thread {
442-
assert_eq!(context(), GlobalContext);
443-
}
444-
}

0 commit comments

Comments
 (0)