Skip to content

Commit 057aa95

Browse files
authored
Unrolled build for #144599
Rollup merge of #144599 - lolbinarycat:bootstrap-build.tidy-extra-checks-enable-for-tools, r=Kobzol bootstrap: enable tidy auto extra checks on tools profile alternative to #144461 this won't affect CI or any `./configure` based workflows, and will also not affect every rust contributor like that PR will. a slower rollout of this feature should reduce disruption if issues are discovered with it. r? ``@Kobzol``
2 parents 5529041 + 4096582 commit 057aa95

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

bootstrap.example.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,9 @@
475475
# Note that if any value is manually given to bootstrap such as
476476
# `./x test tidy --extra-checks=js`, this value is ignored.
477477
# Use `--extra-checks=''` to temporarily disable all extra checks.
478+
#
479+
# Automatically enabled in the "tools" profile.
480+
# Set to the empty string to force disable (recommeded for hdd systems).
478481
#build.tidy-extra-checks = ""
479482

480483
# Indicates whether ccache is used when building certain artifacts (e.g. LLVM).

src/bootstrap/defaults/bootstrap.tools.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ test-stage = 2
1414
doc-stage = 2
1515
# Contributors working on tools will probably expect compiler docs to be generated, so they can figure out how to use the API.
1616
compiler-docs = true
17+
# Contributors working on tools are the most likely to change non-rust programs.
18+
tidy-extra-checks = "auto:js,auto:py,auto:cpp,auto:spellcheck"
1719

1820
[llvm]
1921
# Will download LLVM from CI if available on your platform.

0 commit comments

Comments
 (0)