about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-12-11 14:04:15 +0000
committerbors <bors@rust-lang.org>2018-12-11 14:04:15 +0000
commit3499575282b5cda1e98220baae4f6c87e1863926 (patch)
tree9fd1f65a0edde4bbf7c2fe895ac5ac9619b4864d /src/rustllvm/RustWrapper.cpp
parent3a3121337122637fa11f0e5d42aec67551e8c125 (diff)
parentc28c28779c082b6e1d0e7007a222392dc5d6c052 (diff)
downloadrust-3499575282b5cda1e98220baae4f6c87e1863926.tar.gz
rust-3499575282b5cda1e98220baae4f6c87e1863926.zip
Auto merge of #56243 - RalfJung:test-deterministic, r=alexcrichton
libtest: Use deterministic HashMap, avoid spawning thread if there is no concurrency

It seems desirable to make a test and bench runner deterministic, which this achieves by using a deterministic hasher. Also, we we only have 1 thread, we don't bother spawning one and just use the main thread.

The motivation for this is to be able to run the test harness in miri, where we can neither access the OS RNG, nor spawn threads.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions