about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-07-31 17:14:39 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2025-08-09 01:31:23 +0200
commit339be84d9dbe887ce704a5171e467b4fb363fbf4 (patch)
tree8c0503fa542e356b4fe8ccd001b7511b3dc3f3b7
parentde3efa79f95852c7427587f1d535bfea7c0d6779 (diff)
downloadrust-339be84d9dbe887ce704a5171e467b4fb363fbf4.tar.gz
rust-339be84d9dbe887ce704a5171e467b4fb363fbf4.zip
Use new public libtest `ERROR_EXIT_CODE` constant in rustdoc
-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);
     }
 }