Skip to content

Commit a00fd7a

Browse files
committed
warn about "src/bootstrap" on RUSTC_IF_UNCHANGED_ALLOWED_PATHS
Signed-off-by: onur-ozkan <[email protected]>
1 parent 72e63e3 commit a00fd7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ use crate::utils::helpers::{self, exe, output, t};
3737
///
3838
/// WARNING: Be cautious when adding paths to this list. If a path that influences the compiler build
3939
/// is added here, it will cause bootstrap to skip necessary rebuilds, which may lead to risky results.
40+
/// For example, "src/bootstrap" should never be included in this list as it plays a crucial role in the
41+
/// final output/compiler, which can be significantly affected by changes made to the bootstrap sources.
4042
pub(crate) const RUSTC_IF_UNCHANGED_ALLOWED_PATHS: &[&str] = &[
4143
":!.clang-format",
4244
":!.editorconfig",

0 commit comments

Comments
 (0)