warn about "src/bootstrap" on RUSTC_IF_UNCHANGED_ALLOWED_PATHS

Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
onur-ozkan 2024-11-10 23:14:39 +03:00
parent 72e63e3ad5
commit a00fd7a965

View file

@ -37,6 +37,8 @@ use crate::utils::helpers::{self, exe, output, t};
///
/// WARNING: Be cautious when adding paths to this list. If a path that influences the compiler build
/// 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.
pub(crate) const RUSTC_IF_UNCHANGED_ALLOWED_PATHS: &[&str] = &[
":!.clang-format",
":!.editorconfig",