Skip to content

Commit 85ad75b

Browse files
committed
Do not check download-ci-llvm in dry runs
1 parent 2118f77 commit 85ad75b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3124,7 +3124,7 @@ impl Config {
31243124
);
31253125
}
31263126

3127-
if b && CiEnv::is_ci() {
3127+
if b && CiEnv::is_ci() && !self.dry_run() {
31283128
// On CI, we must always rebuild LLVM if there were any modifications to it
31293129
panic!(
31303130
"`llvm.download-ci-llvm` cannot be set to `true` on CI. Use `if-unchanged` instead."

0 commit comments

Comments
 (0)