From 138beab0a12eb558ddb29c7af6771fa47a2dbc86 Mon Sep 17 00:00:00 2001 From: Noah Lev Date: Fri, 7 Aug 2026 21:43:42 +0000 Subject: [PATCH] bootstrap: Enable rustdoc mergeable CCI for std docs Ideally we'd enable it for the compiler docs too, though that's blocked on fixing some hacks in bootstrap related to shared build directories. --- src/bootstrap/src/core/build_steps/doc.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bootstrap/src/core/build_steps/doc.rs b/src/bootstrap/src/core/build_steps/doc.rs index f7ef0a93c1446..102f268f9c243 100644 --- a/src/bootstrap/src/core/build_steps/doc.rs +++ b/src/bootstrap/src/core/build_steps/doc.rs @@ -839,6 +839,10 @@ fn doc_std( .arg("--no-deps") .arg("--target-dir") .arg(&*target_dir.to_string_lossy()) + // Will be stabilized soon -> let's dogfood it. + // Generally provides significant perf improvements, though not noticeable + // for std. + .arg("-Zrustdoc-mergeable-info") .arg("-Zskip-rustdoc-fingerprint") .arg("-Zrustdoc-map") .rustdocflag("--extern-html-root-url")