Currently, cargo miri run will run all the binaries in the project (ouch) and cargo miri test will test all binaries and libraries. This leads to issues like #700 (we run tests even when they are disabled), and it means one cannot run examples with Miri.
We should find a way to re-use cargo's selection of binaries, tests and so on.
Currently,
cargo miri runwill run all the binaries in the project (ouch) andcargo miri testwill test all binaries and libraries. This leads to issues like #700 (we run tests even when they are disabled), and it means one cannot run examples with Miri.We should find a way to re-use cargo's selection of binaries, tests and so on.