Skip to content

Commit

Permalink
Use -Zmiri-compare-exchange-weak-failure-rate=0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Mar 22, 2021
1 parent 3d46fcd commit cb3bfae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/miri.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ rustup component add miri

# -Zmiri-disable-stacked-borrows is needed for https://github.com/crossbeam-rs/crossbeam/issues/545
# -Zmiri-ignore-leaks is needed for https://github.com/crossbeam-rs/crossbeam/issues/579
export MIRIFLAGS="-Zmiri-disable-isolation -Zmiri-disable-stacked-borrows -Zmiri-ignore-leaks"
export MIRIFLAGS="-Zmiri-disable-isolation -Zmiri-disable-stacked-borrows -Zmiri-ignore-leaks -Zmiri-compare-exchange-weak-failure-rate=0.0"
cargo miri test --all --exclude benchmarks

0 comments on commit cb3bfae

Please sign in to comment.