We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e1162f commit 873ab04Copy full SHA for 873ab04
src/bootstrap/test.rs
@@ -638,7 +638,10 @@ impl Step for Miri {
638
// Forward test filters.
639
cargo.arg("--").args(builder.config.cmd.test_args());
640
641
- add_flags_and_try_run_tests(builder, &mut cargo.into());
+ // This can NOT be `add_flags_and_try_run_tests` since the Miri test runner
642
+ // does not understand those flags!
643
+ let mut cargo = Command::from(cargo);
644
+ builder.run(&mut cargo);
645
646
// # Run `cargo miri test`.
647
// This is just a smoke test (Miri's own CI invokes this in a bunch of different ways and ensures
0 commit comments