reduce RUSTC_IF_UNCHANGED_ALLOWED_PATHS significantly

Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
onur-ozkan
2024-11-10 23:36:44 +03:00
parent a00fd7a965
commit 6b38a159e5
+2 -33
View File
@@ -39,42 +39,11 @@
/// 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 {