Skip to content

Commit bee5fbf

Browse files
Fix CI build failure when using new libtest public constant
1 parent 227abb7 commit bee5fbf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/librustdoc/doctest.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,9 @@ pub(crate) fn run_tests(
409409
// We ensure temp dir destructor is called.
410410
std::mem::drop(temp_dir);
411411
times.display_times();
412-
// libtest::ERROR_EXIT_CODE is not public but it's the same value.
413-
std::process::exit(test::ERROR_EXIT_CODE);
412+
// FIXME(GuillaumeGomez): Uncomment the next line once #144297 has been merged.
413+
// std::process::exit(test::ERROR_EXIT_CODE);
414+
std::process::exit(101);
414415
}
415416
}
416417

0 commit comments

Comments
 (0)