Skip to content

Commit 2b066a3

Browse files
committed
Auto merge of rust-lang#2848 - RalfJung:tokio, r=RalfJung
disable preemption in tokio tests again The comment even still says we need preemption disabled, but the flag got lost in rust-lang/miri#2764.
2 parents f0c207f + 28f6297 commit 2b066a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/miri/tests/pass-dep/tokio/tokio_mvp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Need to disable preemption to stay on the supported MVP codepath in mio.
2-
//@compile-flags: -Zmiri-permissive-provenance
2+
//@compile-flags: -Zmiri-permissive-provenance -Zmiri-preemption-rate=0
33
//@only-target-x86_64-unknown-linux: support for tokio exists only on linux and x86
44

55
#[tokio::main]

0 commit comments

Comments
 (0)