make attempt to cross-interpret a hard error

This commit is contained in:
Ralf Jung 2021-04-05 11:46:20 +02:00
parent 4fccde54ac
commit dd393f21c7

View file

@ -923,8 +923,7 @@ fn phase_cargo_rustdoc(fst_arg: &str, mut args: env::Args) {
}
if crossmode {
eprintln!("Cross-interpreting doc-tests is not currently supported by Miri.");
return;
show_error(format!("cross-interpreting doc-tests is not currently supported by Miri."));
}
// For each doc-test, rustdoc starts two child processes: first the test is compiled,