Skip to content

Commit

Permalink
fix for miri
Browse files Browse the repository at this point in the history
  • Loading branch information
klensy committed Dec 7, 2024
1 parent 5b7daa7 commit 5290542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/miri/src/shims/backtrace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
this.tcx.sess.source_map().lookup_char_pos(BytePos(offset.bytes().try_into().unwrap()));

let name = fn_instance.to_string();
let filename = lo.file.name.prefer_remapped_unconditionaly().to_string();
let filename = lo.file.name.prefer_remapped_unconditionally().to_string();

interp_ok((fn_instance, lo, name, filename))
}
Expand Down

0 comments on commit 5290542

Please sign in to comment.