about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-10-09 05:31:49 +0000
committerbors <bors@rust-lang.org>2024-10-09 05:31:49 +0000
commit4203c686136428ab10e2765a00886b7c2909a477 (patch)
tree2701a935ac6fd57645bd95698384654248f7802e /src/bootstrap
parent883f9a2c8f8923eafafbeba8b18361424b148f05 (diff)
parent4474018500b8a18edc5fc26003740287779bc8ac (diff)
Auto merge of #131434 - onur-ozkan:fix-if-unchanged-test, r=onur-ozkan
fix `ci_rustc_if_unchanged_logic` test

Kind a typo from https://github.com/rust-lang/rust/pull/122709, which makes `ci_rustc_if_unchanged_logic` test to fail in any PR that has a change in "library" tree (e.g., https://github.com/rust-lang/rust/pull/131418#issuecomment-2400878904). This fixes that.

r? ghost
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/src/core/builder/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/src/core/builder/tests.rs b/src/bootstrap/src/core/builder/tests.rs
index 4a96ecf1421..ab36193f8b6 100644
--- a/src/bootstrap/src/core/builder/tests.rs
+++ b/src/bootstrap/src/core/builder/tests.rs
@@ -239,7 +239,7 @@ fn ci_rustc_if_unchanged_logic() {
     builder.run_step_descriptions(&Builder::get_step_descriptions(config.cmd.kind()), &[]);
 
     let compiler_path = build.src.join("compiler");
-    let library_path = build.src.join("compiler");
+    let library_path = build.src.join("library");
 
     let commit =
         get_closest_merge_commit(Some(&builder.config.src), &builder.config.git_config(), &[