Skip to content

Commit 6fa4f43

Browse files
committed
Fix incorrect merge conflict resolution
1 parent f28165e commit 6fa4f43

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

src/eval.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ pub struct MiriConfig {
6262
pub check_alignment: AlignmentCheck,
6363
/// Controls function [ABI](Abi) checking.
6464
pub check_abi: bool,
65-
/// Determines if communication with the host environment is enabled.
66-
pub communicate: bool,
6765
/// Action for an op requiring communication with the host.
6866
pub isolated_op: IsolatedOp,
6967
/// Determines if memory leaks should be ignored.

src/helpers.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -666,19 +666,6 @@ where
666666
throw_ub_format!("incorrect number of arguments: got {}, expected {}", args.len(), N)
667667
}
668668

669-
/// Check that the ABI is what we expect.
670-
pub fn check_abi<'a>(abi: Abi, exp_abi: Abi) -> InterpResult<'a, ()> {
671-
if abi == exp_abi {
672-
Ok(())
673-
} else {
674-
throw_ub_format!(
675-
"calling a function with ABI {} using caller ABI {}",
676-
exp_abi.name(),
677-
abi.name()
678-
)
679-
}
680-
}
681-
682669
pub fn isolation_abort_error(name: &str) -> InterpResult<'static> {
683670
throw_machine_stop!(TerminationInfo::UnsupportedInIsolation(format!(
684671
"{} not available when isolation is enabled",

0 commit comments

Comments
 (0)