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 50
50
51
51
cat << EOF | git apply -
52
52
diff --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
54
54
--- a/src/bootstrap/src/core/config/config.rs
55
55
+++ 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
+ }
59
59
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
+ - }
66
66
-
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
+ }
70
70
EOF
71
71
72
72
popd
You can’t perform that action at this time.
0 commit comments