Ralf Jung
bf372a8fbc
remove warning about thread support being experimental
2022-06-06 20:16:02 -04:00
Ralf Jung
b64c9a0a83
make scheduler preemptive, with configurable preemption rate
2022-06-06 20:16:02 -04:00
Ralf Jung
14913e993b
deprecate -Zmiri-allow-uninit-numbers and -Zmiri-allow-ptr-int-transmute
2022-06-06 16:07:30 -04:00
Andy Wang
65f39bd5cf
Move tests to new directories
2022-06-06 19:16:01 +01:00
Andy Wang
6a73dedb36
Update experimental threading warning
2022-06-06 19:15:59 +01:00
Andy Wang
e2002b4c65
Amend experimental thread support warnings
2022-06-06 19:15:55 +01:00
Andy Wang
32627d5abb
Disable weak memory emulation on scheduler-dependent data race tests
2022-06-06 19:15:23 +01:00
Ralf Jung
7f5cfa54d9
port some tests away from flags we want to remove
2022-06-06 11:44:36 -04:00
Ralf Jung
63625b0397
adjust for better provenance control
2022-06-06 11:43:25 -04:00
bors
2eae474673
Auto merge of #2197 - RalfJung:round-robin, r=RalfJung
...
make Miri's scheduler proper round-robin
When thread N blocks or yields, we activate thread N+1 next, rather than always activating thread 0. This should guarantee that as long as all threads regularly yield, each thread eventually takes a step again.
Fixes the "multiple loops that yield playing ping-pong" part of https://github.com/rust-lang/miri/issues/1388 .
`@cbeuw` I hope this doesn't screw up the scheduler-dependent tests you are adding in your PR.
2022-06-05 18:37:07 +00:00
Ralf Jung
34b359be1e
more spin-loop-tests
2022-06-05 14:36:49 -04:00
Ralf Jung
47745380cd
make Miri's scheduler proper round-robin
2022-06-05 14:22:00 -04:00
Ralf Jung
4a852126b9
do not use int2ptr casts in strict provenance tests
2022-06-05 11:47:39 -04:00
DrMeepster
0b7a148ad9
add test for backtrace with global allocator
2022-06-01 17:32:01 -07:00
Ralf Jung
3d634c975c
rename test suite directories
2022-06-01 10:53:38 -04:00