Skip to content

Commit dd393f2

Browse files
committed
make attempt to cross-interpret a hard error
1 parent 4fccde5 commit dd393f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cargo-miri/bin.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -923,8 +923,7 @@ fn phase_cargo_rustdoc(fst_arg: &str, mut args: env::Args) {
923923
}
924924

925925
if crossmode {
926-
eprintln!("Cross-interpreting doc-tests is not currently supported by Miri.");
927-
return;
926+
show_error(format!("cross-interpreting doc-tests is not currently supported by Miri."));
928927
}
929928

930929
// For each doc-test, rustdoc starts two child processes: first the test is compiled,

0 commit comments

Comments
 (0)