diff options
| author | onur-ozkan <work@onurozkan.dev> | 2024-11-10 23:14:39 +0300 |
|---|---|---|
| committer | onur-ozkan <work@onurozkan.dev> | 2024-11-10 23:14:39 +0300 |
| commit | a00fd7a965c455d137c887ebbb7ed580719f080c (patch) | |
| tree | 8e021a6cbdd91706cb1530db0c2c4934daed7828 /src/bootstrap | |
| parent | 72e63e3ad58347ffe8a5e00e47738c1fd6295fa2 (diff) | |
| download | rust-a00fd7a965c455d137c887ebbb7ed580719f080c.tar.gz rust-a00fd7a965c455d137c887ebbb7ed580719f080c.zip | |
warn about "src/bootstrap" on `RUSTC_IF_UNCHANGED_ALLOWED_PATHS`
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/src/core/config/config.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs index b4bea7a68de..adfd7c42f23 100644 --- a/src/bootstrap/src/core/config/config.rs +++ b/src/bootstrap/src/core/config/config.rs @@ -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", |
