Skip to content

Commit 50f68dc

Browse files
committed
Reference issue 1763 in the comment.
1 parent 72ca2a7 commit 50f68dc

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/thread.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -714,10 +714,12 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
714714
if let Some((thread, callback)) = this.machine.threads.get_ready_callback() {
715715
(thread, callback)
716716
} else {
717-
// get_ready_callback can return None if the computer's clock was
718-
// shifted after calling the scheduler and before the call
719-
// to get_ready_callback. In this case, just do nothing, which
720-
// effectively just returns to the scheduler.
717+
// get_ready_callback can return None if the computer's clock
718+
// was shifted after calling the scheduler and before the call
719+
// to get_ready_callback (see issue
720+
// https://github.com/rust-lang/miri/issues/1763). In this case,
721+
// just do nothing, which effectively just returns to the
722+
// scheduler.
721723
return Ok(());
722724
};
723725
// This back-and-forth with `set_active_thread` is here because of two

0 commit comments

Comments
 (0)