mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-28 00:00:11 +02:00
runtime: various minor LocalRuntime improvements (#7346)
This commit is contained in:
@@ -760,3 +760,11 @@ mod unix_asyncfd {
|
||||
async_assert_fn!(AsyncFd<ImplsFd<NN>>::writable(_): !Send & !Sync & !Unpin);
|
||||
async_assert_fn!(AsyncFd<ImplsFd<NN>>::writable_mut(_): !Send & !Sync & !Unpin);
|
||||
}
|
||||
|
||||
#[cfg(tokio_unstable)]
|
||||
mod unstable {
|
||||
use super::*;
|
||||
|
||||
assert_value!(tokio::runtime::LocalRuntime: !Send & !Sync & Unpin);
|
||||
assert_value!(tokio::runtime::LocalOptions: !Send & !Sync & Unpin);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user