Skip to content

Commit 6b38a15

Browse files
committed
reduce RUSTC_IF_UNCHANGED_ALLOWED_PATHS significantly
Signed-off-by: onur-ozkan <[email protected]>
1 parent a00fd7a commit 6b38a15

File tree

1 file changed

+2
-33
lines changed

1 file changed

+2
-33
lines changed

src/bootstrap/src/core/config/config.rs

+2-33
Original file line numberDiff line numberDiff line change
@@ -39,42 +39,11 @@ use crate::utils::helpers::{self, exe, output, t};
3939
/// is added here, it will cause bootstrap to skip necessary rebuilds, which may lead to risky results.
4040
/// For example, "src/bootstrap" should never be included in this list as it plays a crucial role in the
4141
/// final output/compiler, which can be significantly affected by changes made to the bootstrap sources.
42+
#[rustfmt::skip] // We don't want rustfmt to oneline this list
4243
pub(crate) const RUSTC_IF_UNCHANGED_ALLOWED_PATHS: &[&str] = &[
43-
":!.clang-format",
44-
":!.editorconfig",
45-
":!.git-blame-ignore-revs",
46-
":!.gitattributes",
47-
":!.gitignore",
48-
":!.gitmodules",
49-
":!.ignore",
50-
":!.mailmap",
51-
":!CODE_OF_CONDUCT.md",
52-
":!CONTRIBUTING.md",
53-
":!COPYRIGHT",
54-
":!INSTALL.md",
55-
":!LICENSE-APACHE",
56-
":!LICENSE-MIT",
57-
":!LICENSES",
58-
":!README.md",
59-
":!RELEASES.md",
60-
":!REUSE.toml",
61-
":!config.example.toml",
62-
":!configure",
63-
":!rust-bors.toml",
64-
":!rustfmt.toml",
44+
":!src/tools",
6545
":!tests",
6646
":!triagebot.toml",
67-
":!x",
68-
":!x.ps1",
69-
":!x.py",
70-
":!src/ci/cpu-usage-over-time.py",
71-
":!src/ci/publish_toolstate.sh",
72-
":!src/doc",
73-
":!src/etc",
74-
":!src/librustdoc",
75-
":!src/rustdoc-json-types",
76-
":!src/tools",
77-
":!src/README.md",
7847
];
7948

8049
macro_rules! check_ci_llvm {

0 commit comments

Comments
 (0)