diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-07-31 17:14:39 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-08-09 01:31:23 +0200 |
| commit | 339be84d9dbe887ce704a5171e467b4fb363fbf4 (patch) | |
| tree | 8c0503fa542e356b4fe8ccd001b7511b3dc3f3b7 | |
| parent | de3efa79f95852c7427587f1d535bfea7c0d6779 (diff) | |
| download | rust-339be84d9dbe887ce704a5171e467b4fb363fbf4.tar.gz rust-339be84d9dbe887ce704a5171e467b4fb363fbf4.zip | |
Use new public libtest `ERROR_EXIT_CODE` constant in rustdoc
| -rw-r--r-- | src/librustdoc/doctest.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/librustdoc/doctest.rs b/src/librustdoc/doctest.rs index 35ace656638..73ce62cdcde 100644 --- a/src/librustdoc/doctest.rs +++ b/src/librustdoc/doctest.rs @@ -409,9 +409,7 @@ pub(crate) fn run_tests( // We ensure temp dir destructor is called. std::mem::drop(temp_dir); times.display_times(); - // FIXME(GuillaumeGomez): Uncomment the next line once #144297 has been merged. - // std::process::exit(test::ERROR_EXIT_CODE); - std::process::exit(101); + std::process::exit(test::ERROR_EXIT_CODE); } } |
