We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce5c691 commit 4221765Copy full SHA for 4221765
src/tools/miri/miri-script/src/commands.rs
@@ -564,6 +564,10 @@ impl Command {
564
if bless {
565
e.sh.set_var("RUSTC_BLESS", "Gesundheit");
566
}
567
+ if e.sh.var("MIRI_TEST_TARGET").is_ok() {
568
+ // Avoid trouble due to an incorrectly set env var.
569
+ bail!("MIRI_TEST_TARGET must not be set when invoking `./miri test`");
570
+ }
571
if let Some(target) = target {
572
// Tell the harness which target to test.
573
e.sh.set_var("MIRI_TEST_TARGET", target);
0 commit comments