Skip to content

Commit a1e8277

Browse files
authored
Merge pull request #4180 from rust-lang/rustup-2025-02-06
Automatic Rustup
2 parents 18a6579 + d5853b0 commit a1e8277

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8df89d1cb077cd76013d3f9f5a4e92c5b5a9280c
1+
30865107cb8942ab8eaf9baf8d3aa2a6dec2643f

src/machine.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,6 +1150,11 @@ impl<'tcx> Machine<'tcx> for MiriMachine<'tcx> {
11501150
interp_ok(ecx.tcx.sess.ub_checks())
11511151
}
11521152

1153+
#[inline(always)]
1154+
fn contract_checks(ecx: &InterpCx<'tcx, Self>) -> InterpResult<'tcx, bool> {
1155+
interp_ok(ecx.tcx.sess.contract_checks())
1156+
}
1157+
11531158
#[inline(always)]
11541159
fn thread_local_static_pointer(
11551160
ecx: &mut MiriInterpCx<'tcx>,

0 commit comments

Comments
 (0)