Closed
Description
Currently there is a discrepancy between the way cargo test
and cargo miri test
handle arguments (and same for run
):
cargo test -- arguments
cargo miri test -- -- arguments
This regularly leads to confusion. So maybe we should fix that. There are two sub-parts to this question:
- How to best fix this? Maybe
cargo miri test -Zmiri-disable-stacked-borrows -- arguments
should work, though that looks odd. Or maybe we follow theRUSTFLAGS
env var and addMIRIFLAGS
or so. - How to deal with the backwards incompatibility?
For the latter, would be nice to get the thoughts of some Miri users how they'd feel if we broke their scripts that already use double-double-dash now in order to fix this discrepancy.