We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 18a6579 + d5853b0 commit a1e8277Copy full SHA for a1e8277
rust-version
@@ -1 +1 @@
1
-8df89d1cb077cd76013d3f9f5a4e92c5b5a9280c
+30865107cb8942ab8eaf9baf8d3aa2a6dec2643f
src/machine.rs
@@ -1150,6 +1150,11 @@ impl<'tcx> Machine<'tcx> for MiriMachine<'tcx> {
1150
interp_ok(ecx.tcx.sess.ub_checks())
1151
}
1152
1153
+ #[inline(always)]
1154
+ fn contract_checks(ecx: &InterpCx<'tcx, Self>) -> InterpResult<'tcx, bool> {
1155
+ interp_ok(ecx.tcx.sess.contract_checks())
1156
+ }
1157
+
1158
#[inline(always)]
1159
fn thread_local_static_pointer(
1160
ecx: &mut MiriInterpCx<'tcx>,
0 commit comments