Skip to content

Commit 8635fa1

Browse files
committed
Auto merge of #2789 - RalfJung:rustup, r=RalfJung
Rustup
2 parents fb38aea + 207d6ab commit 8635fa1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e7acd078f443156b95cee11759a735db1cfc796e
1+
068161ea483b1a80a959476cb3e31e6619a72737

src/shims/intrinsics/simd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
469469
let ty::Array(_, index_len) = index.layout.ty.kind() else {
470470
span_bug!(this.cur_span(), "simd_shuffle index argument has non-array type {}", index.layout.ty)
471471
};
472-
let index_len = index_len.eval_usize(*this.tcx, this.param_env());
472+
let index_len = index_len.eval_target_usize(*this.tcx, this.param_env());
473473

474474
assert_eq!(left_len, right_len);
475475
assert_eq!(index_len, dest_len);

0 commit comments

Comments
 (0)