Skip to content

Commit

Permalink
Default to doc-stage = 2 for the tools profile
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jyn514 committed Dec 9, 2021
1 parent dfcaac5 commit 6840030
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bootstrap/defaults/config.tools.toml
Expand Up @@ -11,6 +11,10 @@ incremental = true
# This cuts compile times by almost 60x, but means you can't modify the compiler.
download-rustc = "if-unchanged"

[build]
# Document with the in-tree rustdoc by default, since `download-rustc` makes it quick to compile.
doc-stage = 2

[llvm]
# Will download LLVM from CI if available on your platform.
download-ci-llvm = "if-available"

0 comments on commit 6840030

Please sign in to comment.