Skip to content

Commit f943443

Browse files
committed
Disable Miri preemption
1 parent 545b5ab commit f943443

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ jobs:
7777
- run: cargo miri test
7878
env:
7979
# -Zmiri-ignore-leaks is needed because we use detached threads in doctests
80+
# disable preemption due to https://github.com/rust-lang/rust/issues/55005
8081
# TODO: remove -Zmiri-disable-weak-memory-emulation once https://github.com/rust-lang/miri/issues/2223 fixed.
81-
MIRIFLAGS: -Zmiri-strict-provenance -Zmiri-symbolic-alignment-check -Zmiri-disable-isolation -Zmiri-disable-weak-memory-emulation -Zmiri-ignore-leaks
82+
MIRIFLAGS: -Zmiri-strict-provenance -Zmiri-symbolic-alignment-check -Zmiri-disable-isolation -Zmiri-disable-weak-memory-emulation -Zmiri-ignore-leaks -Zmiri-preemption-rate=0
8283
RUSTFLAGS: ${{ env.RUSTFLAGS }} -Z randomize-layout
8384

8485
security_audit:

0 commit comments

Comments
 (0)