Skip to content

Commit 8c18bc4

Browse files
committed
fix check_no_isolation
1 parent bce094e commit 8c18bc4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/shims/time.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
214214
let this = self.eval_context_mut();
215215

216216
this.assert_target_os("windows", "QueryPerformanceCounter");
217-
this.check_no_isolation("`QueryPerformanceCounter`")?;
218217

219218
// QueryPerformanceCounter uses a hardware counter as its basis.
220219
// Miri will emulate a counter with a resolution of 1 nanosecond.
@@ -255,7 +254,6 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
255254
let this = self.eval_context_ref();
256255

257256
this.assert_target_os("macos", "mach_absolute_time");
258-
this.check_no_isolation("`mach_absolute_time`")?;
259257

260258
// This returns a u64, with time units determined dynamically by `mach_timebase_info`.
261259
// We return plain nanoseconds.

0 commit comments

Comments
 (0)