rt: remove unstable cfgs leftovers after local runtime stabilization (#8298)

This commit is contained in:
Mattia Pitossi
2026-07-20 20:12:30 +02:00
committed by GitHub
parent 75fef53d0a
commit ac6869a431
8 changed files with 13 additions and 26 deletions
-2
View File
@@ -16,7 +16,6 @@ async fn spawning() -> usize {
join.await.unwrap()
}
#[cfg(tokio_unstable)]
#[tokio::main(flavor = "local")]
async fn local_main() -> usize {
let join = tokio::task::spawn_local(async { 1 });
@@ -33,6 +32,5 @@ fn shell() {
assert_eq!(1, basic_main());
assert_eq!(bool::default(), generic_fun::<bool>());
#[cfg(tokio_unstable)]
assert_eq!(1, local_main());
}