diff options
| author | onur-ozkan <work@onurozkan.dev> | 2024-11-10 23:36:44 +0300 |
|---|---|---|
| committer | onur-ozkan <work@onurozkan.dev> | 2024-11-11 11:19:01 +0300 |
| commit | 6b38a159e5d1c3c154c24ff38786e40b71dd4710 (patch) | |
| tree | a45c673296b87b5b1f1160ddc9ae7b977a53a433 /src/bootstrap | |
| parent | a00fd7a965c455d137c887ebbb7ed580719f080c (diff) | |
reduce `RUSTC_IF_UNCHANGED_ALLOWED_PATHS` significantly
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/src/core/config/config.rs | 35 |
1 files changed, 2 insertions, 33 deletions
diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs index adfd7c42f23..8afabda1403 100644 --- a/src/bootstrap/src/core/config/config.rs +++ b/src/bootstrap/src/core/config/config.rs @@ -39,42 +39,11 @@ use crate::utils::helpers::{self, exe, output, t}; /// is added here, it will cause bootstrap to skip necessary rebuilds, which may lead to risky results. /// For example, "src/bootstrap" should never be included in this list as it plays a crucial role in the /// final output/compiler, which can be significantly affected by changes made to the bootstrap sources. +#[rustfmt::skip] // We don't want rustfmt to oneline this list pub(crate) const RUSTC_IF_UNCHANGED_ALLOWED_PATHS: &[&str] = &[ - ":!.clang-format", - ":!.editorconfig", - ":!.git-blame-ignore-revs", - ":!.gitattributes", - ":!.gitignore", - ":!.gitmodules", - ":!.ignore", - ":!.mailmap", - ":!CODE_OF_CONDUCT.md", - ":!CONTRIBUTING.md", - ":!COPYRIGHT", - ":!INSTALL.md", - ":!LICENSE-APACHE", - ":!LICENSE-MIT", - ":!LICENSES", - ":!README.md", - ":!RELEASES.md", - ":!REUSE.toml", - ":!config.example.toml", - ":!configure", - ":!rust-bors.toml", - ":!rustfmt.toml", + ":!src/tools", ":!tests", ":!triagebot.toml", - ":!x", - ":!x.ps1", - ":!x.py", - ":!src/ci/cpu-usage-over-time.py", - ":!src/ci/publish_toolstate.sh", - ":!src/doc", - ":!src/etc", - ":!src/librustdoc", - ":!src/rustdoc-json-types", - ":!src/tools", - ":!src/README.md", ]; macro_rules! check_ci_llvm { |
