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.
This commit is contained in:
Joshua Nelson 2021-12-09 11:20:55 -06:00
parent dfcaac53ce
commit 6840030283

View file

@ -11,6 +11,10 @@ incremental = true
# This cuts compile times by almost 60x, but means you can't modify the compiler. # This cuts compile times by almost 60x, but means you can't modify the compiler.
download-rustc = "if-unchanged" 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] [llvm]
# Will download LLVM from CI if available on your platform. # Will download LLVM from CI if available on your platform.
download-ci-llvm = "if-available" download-ci-llvm = "if-available"