Skip to content

Commit 512262e

Browse files
authored
Update MIRIFLAGS (#28)
1 parent 8a886c2 commit 512262e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,10 @@ jobs:
7676
run: rustup toolchain install nightly --component miri && rustup default nightly
7777
- run: cargo miri test
7878
env:
79-
# -Zmiri-ignore-leaks is needed because we use detached threads in doctests
79+
# -Zmiri-ignore-leaks is needed because we use detached threads in doctests: https://github.com/rust-lang/miri/issues/1371
8080
# disable preemption due to https://github.com/rust-lang/rust/issues/55005
81-
MIRIFLAGS: -Zmiri-strict-provenance -Zmiri-symbolic-alignment-check -Zmiri-disable-isolation -Zmiri-ignore-leaks -Zmiri-preemption-rate=0
81+
# TODO: enable -Zmiri-strict-provenance once https://github.com/matklad/once_cell/pull/185 merged and released.
82+
MIRIFLAGS: -Zmiri-symbolic-alignment-check -Zmiri-disable-isolation -Zmiri-ignore-leaks -Zmiri-preemption-rate=0
8283
RUSTFLAGS: ${{ env.RUSTFLAGS }} -Z randomize-layout
8384

8485
security_audit:

0 commit comments

Comments
 (0)