std::rt: Remove the test for context()
This is no longer testable once newsched is turned on
This commit is contained in:
parent
a27f339cb4
commit
2f8346b949
@ -432,13 +432,3 @@ pub fn context() -> RuntimeContext {
|
||||
pub fn rust_try_get_task() -> *rust_task;
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_context() {
|
||||
use unstable::run_in_bare_thread;
|
||||
|
||||
assert_eq!(context(), OldTaskContext);
|
||||
do run_in_bare_thread {
|
||||
assert_eq!(context(), GlobalContext);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user