2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 03:11:24 +00:00

Don't spawn_local without tokio-unstable

This commit is contained in:
asonix 2024-03-11 13:20:26 -05:00
parent b7f508207f
commit 9178e3ef9f

View file

@ -125,7 +125,7 @@ where
.spawn(future)
.expect("Failed to spawn");
#[cfg(not(tokio_unstable))]
let handle = tokio::task::spawn_local(future);
let handle = tokio::task::spawn(future);
drop(guard);
handle