File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change 5050
5151cat << EOF | git apply -
5252diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs
53- index cf4ef4ee310..fe78560fcaf 100644
53+ index a656927b1f6..44fc5546fac 100644
5454--- a/src/bootstrap/src/core/config/config.rs
5555+++ b/src/bootstrap/src/core/config/config.rs
56- @@ -3138 ,13 +3138 ,6 @@ fn parse_download_ci_llvm(
57- );
58- }
56+ @@ -2249 ,13 +2249 ,6 @@ pub fn parse_download_ci_llvm<'a> (
57+ );
58+ }
5959
60- - if b && self .is_running_on_ci {
61- - // On CI, we must always rebuild LLVM if there were any modifications to it
62- - panic!(
63- - "\` llvm.download-ci-llvm\` cannot be set to \` true\` on CI. Use \` if-unchanged\` instead."
64- - );
65- - }
60+ - if b && dwn_ctx .is_running_on_ci {
61+ - // On CI, we must always rebuild LLVM if there were any modifications to it
62+ - panic!(
63+ - "\` llvm.download-ci-llvm\` cannot be set to \` true\` on CI. Use \` if-unchanged\` instead."
64+ - );
65+ - }
6666-
67- // If download-ci-llvm=true we also want to check that CI llvm is available
68- b && llvm::is_ci_llvm_available_for_target(self , asserts)
69- }
67+ // If download-ci-llvm=true we also want to check that CI llvm is available
68+ b && llvm::is_ci_llvm_available_for_target(&dwn_ctx.host_target , asserts)
69+ }
7070EOF
7171
7272popd
You can’t perform that action at this time.
0 commit comments