about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-08-10 19:45:48 +1000
committerGitHub <noreply@github.com>2025-08-10 19:45:48 +1000
commit3d6976cba80a20ee553579e3d2d559aadfcce851 (patch)
tree8d56ca39a196ac98670877a0cf32a3acb3b52b10
parent62b406d4b185f28828df3e0df6b1aa1f560145df (diff)
parent339be84d9dbe887ce704a5171e467b4fb363fbf4 (diff)
downloadrust-3d6976cba80a20ee553579e3d2d559aadfcce851.tar.gz
rust-3d6976cba80a20ee553579e3d2d559aadfcce851.zip
Rollup merge of #144739 - GuillaumeGomez:rustdoc-test-cleanup, r=fmease
Use new public libtest `ERROR_EXIT_CODE` constant in rustdoc

Followup of rust-lang/rust#144297.
-rw-r--r--src/librustdoc/doctest.rs4
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);
     }
 }