fmt
This commit is contained in:
parent
bcef7d5a76
commit
a9fc0ca176
2 changed files with 6 additions and 2 deletions
|
|
@ -815,7 +815,9 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
|
|||
"pthread_cond_timedwait" => {
|
||||
let [cond, mutex, abstime] =
|
||||
this.check_shim_sig_lenient(abi, CanonAbi::C, link_name, args)?;
|
||||
this.pthread_cond_timedwait(cond, mutex, abstime, dest, /* macos_relative_np */ false)?;
|
||||
this.pthread_cond_timedwait(
|
||||
cond, mutex, abstime, dest, /* macos_relative_np */ false,
|
||||
)?;
|
||||
}
|
||||
"pthread_cond_destroy" => {
|
||||
let [cond] = this.check_shim_sig_lenient(abi, CanonAbi::C, link_name, args)?;
|
||||
|
|
|
|||
|
|
@ -310,7 +310,9 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
|
|||
"pthread_cond_timedwait_relative_np" => {
|
||||
let [cond, mutex, reltime] =
|
||||
this.check_shim_sig_lenient(abi, CanonAbi::C, link_name, args)?;
|
||||
this.pthread_cond_timedwait(cond, mutex, reltime, dest, /* macos_relative_np */ true)?;
|
||||
this.pthread_cond_timedwait(
|
||||
cond, mutex, reltime, dest, /* macos_relative_np */ true,
|
||||
)?;
|
||||
}
|
||||
|
||||
_ => return interp_ok(EmulateItemResult::NotSupported),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue