about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbinarycat <binarycat@envs.net>2025-07-28 13:12:51 -0500
committerbinarycat <binarycat@envs.net>2025-07-28 13:12:51 -0500
commit4096582662d38ca5d1692e0213ddf5574a40e0d6 (patch)
treea85a4e97172638292d864a338319f6e176f1d9a6
parent9ba00e0f9e00990fb88c1beac7172afe93b15609 (diff)
downloadrust-4096582662d38ca5d1692e0213ddf5574a40e0d6.tar.gz
rust-4096582662d38ca5d1692e0213ddf5574a40e0d6.zip
bootstrap: enable tidy auto extra checks on tools profile
-rw-r--r--bootstrap.example.toml3
-rw-r--r--src/bootstrap/defaults/bootstrap.tools.toml2
2 files changed, 5 insertions, 0 deletions
diff --git a/bootstrap.example.toml b/bootstrap.example.toml
index 73e93ccbe42..ef49113b70f 100644
--- a/bootstrap.example.toml
+++ b/bootstrap.example.toml
@@ -475,6 +475,9 @@
 # Note that if any value is manually given to bootstrap such as
 # `./x test tidy --extra-checks=js`, this value is ignored.
 # Use `--extra-checks=''` to temporarily disable all extra checks.
+#
+# Automatically enabled in the "tools" profile.
+# Set to the empty string to force disable (recommeded for hdd systems).
 #build.tidy-extra-checks = ""
 
 # Indicates whether ccache is used when building certain artifacts (e.g. LLVM).
diff --git a/src/bootstrap/defaults/bootstrap.tools.toml b/src/bootstrap/defaults/bootstrap.tools.toml
index 57c2706f60a..5abe636bd96 100644
--- a/src/bootstrap/defaults/bootstrap.tools.toml
+++ b/src/bootstrap/defaults/bootstrap.tools.toml
@@ -14,6 +14,8 @@ test-stage = 2
 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
+# Contributors working on tools are the most likely to change non-rust programs.
+tidy-extra-checks = "auto:js,auto:py,auto:cpp,auto:spellcheck"
 
 [llvm]
 # Will download LLVM from CI if available on your platform.