Temporarily disable Miri weak memory emulation

This commit is contained in:
Taiki Endo 2022-06-16 22:46:26 +09:00
parent 2aeac0fba8
commit 545b5ab2d0
1 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,8 @@ jobs:
- run: cargo miri test
env:
# -Zmiri-ignore-leaks is needed because we use detached threads in doctests
MIRIFLAGS: -Zmiri-strict-provenance -Zmiri-symbolic-alignment-check -Zmiri-disable-isolation -Zmiri-ignore-leaks
# TODO: remove -Zmiri-disable-weak-memory-emulation once https://github.com/rust-lang/miri/issues/2223 fixed.
MIRIFLAGS: -Zmiri-strict-provenance -Zmiri-symbolic-alignment-check -Zmiri-disable-isolation -Zmiri-disable-weak-memory-emulation -Zmiri-ignore-leaks
RUSTFLAGS: ${{ env.RUSTFLAGS }} -Z randomize-layout
security_audit: