Skip to content

Commit 6840030

Browse files
committed
Default to doc-stage = 2 for the tools profile
This already enables `download-rustc`, so it's quick to build rustdoc, and this makes it less confusing when changes to rustdoc aren't reflected in the docs. Note that this uses 2 and not 1 because `download-rustc` only affects stage 2 runs.
1 parent dfcaac5 commit 6840030

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bootstrap/defaults/config.tools.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ incremental = true
1111
# This cuts compile times by almost 60x, but means you can't modify the compiler.
1212
download-rustc = "if-unchanged"
1313

14+
[build]
15+
# Document with the in-tree rustdoc by default, since `download-rustc` makes it quick to compile.
16+
doc-stage = 2
17+
1418
[llvm]
1519
# Will download LLVM from CI if available on your platform.
1620
download-ci-llvm = "if-available"

0 commit comments

Comments
 (0)