Skip to content

Commit 3329c43

Browse files
Fix CI build failure when using new libtest public constant
1 parent 722e63a commit 3329c43

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/librustdoc/doctest.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,9 @@ pub(crate) fn run_tests(
359359
if nb_errors != 0 {
360360
// We ensure temp dir destructor is called.
361361
std::mem::drop(temp_dir);
362-
std::process::exit(test::ERROR_EXIT_CODE);
362+
// FIXME(GuillaumeGomez): Uncomment the next line once #144297 has been merged.
363+
// std::process::exit(test::ERROR_EXIT_CODE);
364+
std::process::exit(101);
363365
}
364366
}
365367

0 commit comments

Comments
 (0)