about summary refs log tree commit diff
path: root/src/bootstrap/defaults
diff options
context:
space:
mode:
authorJoshua Nelson <jnelson@cloudflare.com>2022-05-05 20:03:10 -0500
committerJoshua Nelson <jnelson@cloudflare.com>2022-05-05 20:05:12 -0500
commit7443cc2bd66a79aa5a624e11b9b0172e56c2da48 (patch)
tree4bb1e2975963c1b34c592d5d6251037acea73a75 /src/bootstrap/defaults
parent30f386087564243ab88a93c984c265290a31580b (diff)
downloadrust-7443cc2bd66a79aa5a624e11b9b0172e56c2da48.tar.gz
rust-7443cc2bd66a79aa5a624e11b9b0172e56c2da48.zip
Enable compiler-docs by default for `compiler`, `codegen`, and `tools` profiles.
Diffstat (limited to 'src/bootstrap/defaults')
-rw-r--r--src/bootstrap/defaults/config.codegen.toml4
-rw-r--r--src/bootstrap/defaults/config.compiler.toml4
-rw-r--r--src/bootstrap/defaults/config.tools.toml2
3 files changed, 10 insertions, 0 deletions
diff --git a/src/bootstrap/defaults/config.codegen.toml b/src/bootstrap/defaults/config.codegen.toml
index 011ff6821b7..088cbd1057e 100644
--- a/src/bootstrap/defaults/config.codegen.toml
+++ b/src/bootstrap/defaults/config.codegen.toml
@@ -1,4 +1,8 @@
 # These defaults are meant for contributors to the compiler who modify codegen or LLVM
+[build]
+# Contributors working on the compiler will probably expect compiler docs to be generated.
+compiler-docs = true
+
 [llvm]
 # This enables debug-assertions in LLVM,
 # catching logic errors in codegen much earlier in the process.
diff --git a/src/bootstrap/defaults/config.compiler.toml b/src/bootstrap/defaults/config.compiler.toml
index 4d689d117bc..2f4ccb825c4 100644
--- a/src/bootstrap/defaults/config.compiler.toml
+++ b/src/bootstrap/defaults/config.compiler.toml
@@ -1,4 +1,8 @@
 # These defaults are meant for contributors to the compiler who do not modify codegen or LLVM
+[build]
+# Contributors working on the compiler will probably expect compiler docs to be generated.
+compiler-docs = true
+
 [rust]
 # This enables `RUSTC_LOG=debug`, avoiding confusing situations
 # where adding `debug!()` appears to do nothing.
diff --git a/src/bootstrap/defaults/config.tools.toml b/src/bootstrap/defaults/config.tools.toml
index 88359fff191..6b6625342a6 100644
--- a/src/bootstrap/defaults/config.tools.toml
+++ b/src/bootstrap/defaults/config.tools.toml
@@ -14,6 +14,8 @@ download-rustc = "if-unchanged"
 [build]
 # Document with the in-tree rustdoc by default, since `download-rustc` makes it quick to compile.
 doc-stage = 2
+# Contributors working on tools will probably expect compiler docs to be generated, so they can figure out how to use the API.
+compiler-docs = true
 
 [llvm]
 # Will download LLVM from CI if available on your platform.