@@ -460,9 +460,6 @@ pub struct MiriMachine<'mir, 'tcx> {
460460 /// Whether to enforce the validity invariant.
461461 pub ( crate ) validate : bool ,
462462
463- /// Whether to enforce [ABI](Abi) of function calls.
464- pub ( crate ) enforce_abi : bool ,
465-
466463 /// The table of file descriptors.
467464 pub ( crate ) file_handler : shims:: unix:: FileHandler ,
468465 /// The table of directory descriptors.
@@ -639,7 +636,6 @@ impl<'mir, 'tcx> MiriMachine<'mir, 'tcx> {
639636 tls : TlsData :: default ( ) ,
640637 isolated_op : config. isolated_op ,
641638 validate : config. validate ,
642- enforce_abi : config. check_abi ,
643639 file_handler : FileHandler :: new ( config. mute_stdout_stderr ) ,
644640 dir_handler : Default :: default ( ) ,
645641 layouts,
@@ -781,7 +777,6 @@ impl VisitProvenance for MiriMachine<'_, '_> {
781777 tcx : _,
782778 isolated_op : _,
783779 validate : _,
784- enforce_abi : _,
785780 clock : _,
786781 layouts : _,
787782 static_roots : _,
@@ -928,8 +923,8 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for MiriMachine<'mir, 'tcx> {
928923 }
929924
930925 #[ inline( always) ]
931- fn enforce_abi ( ecx : & MiriInterpCx < ' mir , ' tcx > ) -> bool {
932- ecx . machine . enforce_abi
926+ fn enforce_abi ( _ecx : & MiriInterpCx < ' mir , ' tcx > ) -> bool {
927+ true
933928 }
934929
935930 #[ inline( always) ]
0 commit comments