We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2645080 commit 1ca609dCopy full SHA for 1ca609d
src/tools/miri/src/shims/time.rs
@@ -393,7 +393,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
393
// No flags set, the timespec should be interperted as a duration
394
// to sleep for
395
TimeoutAnchor::Relative
396
- } else if flags == this.eval_libc("TIMER_ABSTIME").to_i32()? {
+ } else if flags == this.eval_libc_i32("TIMER_ABSTIME") {
397
// Only flag TIMER_ABSTIME set, the timespec should be interperted as
398
// an absolute time.
399
TimeoutAnchor::Absolute
0 commit comments