@@ -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.
@@ -641,7 +638,6 @@ impl<'mir, 'tcx> MiriMachine<'mir, 'tcx> {
641638 tls : TlsData :: default ( ) ,
642639 isolated_op : config. isolated_op ,
643640 validate : config. validate ,
644- enforce_abi : config. check_abi ,
645641 file_handler : FileHandler :: new ( config. mute_stdout_stderr ) ,
646642 dir_handler : Default :: default ( ) ,
647643 layouts,
@@ -784,7 +780,6 @@ impl VisitProvenance for MiriMachine<'_, '_> {
784780 tcx : _,
785781 isolated_op : _,
786782 validate : _,
787- enforce_abi : _,
788783 clock : _,
789784 layouts : _,
790785 static_roots : _,
@@ -932,8 +927,8 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for MiriMachine<'mir, 'tcx> {
932927 }
933928
934929 #[ inline( always) ]
935- fn enforce_abi ( ecx : & MiriInterpCx < ' mir , ' tcx > ) -> bool {
936- ecx . machine . enforce_abi
930+ fn enforce_abi ( _ecx : & MiriInterpCx < ' mir , ' tcx > ) -> bool {
931+ true
937932 }
938933
939934 #[ inline( always) ]
0 commit comments