Skip to content

Commit 7d7bf07

Browse files
committed
: Stabalize LocalRuntime
1 parent 53cb390 commit 7d7bf07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tokio/src/runtime/local_runtime/runtime.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ impl LocalRuntime {
318318
/// use std::time::Duration;
319319
///
320320
/// fn main() {
321+
/// # if cfg!(miri) { return } // Miri reports error when main thread terminated without waiting all remaining threads.
321322
/// let runtime = LocalRuntime::new().unwrap();
322323
///
323324
/// runtime.block_on(async move {

0 commit comments

Comments
 (0)