make a test deterministic

This commit is contained in:
Ralf Jung 2022-07-10 20:15:35 -04:00
parent aada09f79a
commit 45abee46be
2 changed files with 3 additions and 1 deletions

View File

@ -1 +1 @@
1517f5de01c445b5124b30f02257b02b4c5ef3b2
c396bb3b8a16b1f2762b7c6078dc3e023f6a2493

View File

@ -1,3 +1,5 @@
// We want to control preemption here.
//@compile-flags: -Zmiri-preemption-rate=0
//@ignore-windows: Concurrency on Windows is not supported yet.
use std::thread::spawn;