tokio: bump MSRV to 1.63 (#5887)

This commit is contained in:
Jiahao XU
2023-07-27 10:57:19 +02:00
committed by GitHub
parent a58beb3aca
commit c445e467ce
114 changed files with 275 additions and 474 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ const KEEP_ALIVE: Duration = Duration::from_secs(10);
/// Tasks will be scheduled as non-mandatory, meaning they may not get executed
/// in case of runtime shutdown.
#[track_caller]
#[cfg_attr(tokio_wasi, allow(dead_code))]
#[cfg_attr(target_os = "wasi", allow(dead_code))]
pub(crate) fn spawn_blocking<F, R>(func: F) -> JoinHandle<R>
where
F: FnOnce() -> R + Send + 'static,