Apply shim to lseek too (for macOS)
This commit is contained in:
parent
03b5d95cff
commit
0d0902a1e1
1 changed files with 3 additions and 1 deletions
|
|
@ -489,7 +489,9 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
|
|||
this.write_scalar(Scalar::from_int(result, dest.layout.size), dest)?;
|
||||
}
|
||||
|
||||
"lseek64" => {
|
||||
| "lseek64"
|
||||
| "lseek"
|
||||
=> {
|
||||
let result = this.lseek64(args[0], args[1], args[2])?;
|
||||
this.write_scalar(Scalar::from_int(result, dest.layout.size), dest)?;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue