diff options
| author | Joshua Nelson <jnelson@cloudflare.com> | 2021-12-09 11:20:55 -0600 |
|---|---|---|
| committer | Joshua Nelson <jnelson@cloudflare.com> | 2021-12-09 11:30:38 -0600 |
| commit | 684003028335580eae0d12abbe6307db9cd0ee7b (patch) | |
| tree | 34862acdabe41e220899c4cdee61a3facce58e6f /src/bootstrap | |
| parent | dfcaac53ce9062adfa0c8e316714509a855ba997 (diff) | |
| download | rust-684003028335580eae0d12abbe6307db9cd0ee7b.tar.gz rust-684003028335580eae0d12abbe6307db9cd0ee7b.zip | |
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.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/defaults/config.tools.toml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bootstrap/defaults/config.tools.toml b/src/bootstrap/defaults/config.tools.toml index 182fb0fb067..88359fff191 100644 --- a/src/bootstrap/defaults/config.tools.toml +++ b/src/bootstrap/defaults/config.tools.toml @@ -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" |
