Skip to content

Commit cd25644

Browse files
committed
dumping locals with MIRI_BACKTRACE=1 is feasible now
1 parent eb15381 commit cd25644

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ pub fn eval_main<'a, 'tcx: 'a>(
208208
ecx.tcx.sess.err(&e.to_string());
209209
}
210210

211-
/* Nice try, but with MIRI_BACKTRACE this shows 100s of backtraces.
212211
for (i, frame) in ecx.stack().iter().enumerate() {
213212
trace!("-------------------");
214213
trace!("Frame {}", i);
@@ -218,7 +217,7 @@ pub fn eval_main<'a, 'tcx: 'a>(
218217
trace!(" local {}: {:?}", i, local);
219218
}
220219
}
221-
}*/
220+
}
222221
}
223222
}
224223
}

0 commit comments

Comments
 (0)