Skip to content

Miri hangs on running with miri-compare-exchange-weak-failure-rate=1 #2160

@alygin

Description

@alygin

To reproduce:

cargo init miri-test
cd miri-test
echo "#[test] fn test() {}" >> src/main.rs
MIRIFLAGS="-Zmiri-compare-exchange-weak-failure-rate=1" cargo miri test

The process hangs on "Running unittests src/main.rs...", without actually running the test.

It works fine with any other valid value of miri-compare-exchange-weak-failure-rate.
The problem is not reproducible with the nightly-2022-05-22 toolchain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions