We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e12cf80 + 5a1a681 commit 61fc2baCopy full SHA for 61fc2ba
src/rt/mod.rs
@@ -27,7 +27,7 @@ pub static RUNTIME: Lazy<Runtime> = Lazy::new(|| {
27
for _ in 0..thread_count {
28
thread::Builder::new()
29
.name(thread_name.clone())
30
- .spawn(|| smol::run(future::pending::<()>()))
+ .spawn(|| crate::task::block_on(future::pending::<()>()))
31
.expect("cannot start a runtime thread");
32
}
33
Runtime {}
0 commit comments