WIP: change over background executor test helpers

This commit is contained in:
Mikayla 2023-11-06 10:16:08 -08:00
parent 123439adc2
commit d66ed4310f
No known key found for this signature in database
4 changed files with 3 additions and 25 deletions

View file

@ -222,11 +222,6 @@ impl BackgroundExecutor {
self.dispatcher.as_test().unwrap().allow_parking();
}
#[cfg(any(test, feature = "test-support"))]
pub fn record_backtrace(&self) {
self.dispatcher.as_test().unwrap().record_backtrace();
}
#[cfg(any(test, feature = "test-support"))]
pub fn rng(&self) -> StdRng {
self.dispatcher.as_test().unwrap().rng()