Skip to content

Commit 0a84ff0

Browse files
committed
Add an info log when snapshotting the constant evaluation context
1 parent 806ecab commit 0a84ff0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustc_mir/interpret/eval_context.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,8 @@ impl<'a, 'mir, 'tcx, M> InfiniteLoopDetector<'a, 'mir, 'tcx, M>
235235
return Ok(())
236236
}
237237

238+
info!("snapshotting the state of the interpreter");
239+
238240
if self.snapshots.insert(EvalSnapshot::new(machine, memory, stack)) {
239241
// Spurious collision or first cycle
240242
return Ok(())

0 commit comments

Comments
 (0)