Auto merge of #2355 - RalfJung:rustup, r=RalfJung

make a test deterministic
This commit is contained in:
bors 2022-07-11 00:21:38 +00:00
commit b994fea1f8
18 changed files with 35 additions and 3 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.
#![feature(core_intrinsics)]

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::sync::atomic::AtomicUsize;

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::sync::atomic::AtomicUsize;

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.
#![feature(core_intrinsics)]

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.
#![feature(core_intrinsics)]

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::sync::atomic::AtomicUsize;

View File

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

View File

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

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;

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;

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;

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;

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;

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;

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;

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.
#![feature(core_intrinsics)]

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.
#![feature(core_intrinsics)]