Skip to content

Commit afb7e57

Browse files
fix another test for miri
1 parent db9f528 commit afb7e57

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/smoke.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,9 @@ fn sp_smoke_test() {
289289
})
290290
});
291291

292-
let sp = frame.sp() as usize;
293-
eprintln!("sp = {:p}", sp as *const u8);
294-
if sp == 0 {
292+
let sp = frame.sp();
293+
eprintln!("sp = {sp:p}");
294+
if sp as usize == 0 {
295295
// If the SP is null, then we don't have an implementation for
296296
// getting the SP on this target. Just keep walking the stack,
297297
// but don't make our assertions about the on-stack pointers and

0 commit comments

Comments
 (0)