about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2024-09-09 19:20:35 -0700
committerGitHub <noreply@github.com>2024-09-09 19:20:35 -0700
commit5c91cc5d4c8e69ab4eb07e257aea66c5d1c98ca1 (patch)
tree2a71da506eb2346a071852d2ff1b9351875f3703 /compiler/rustc_codegen_llvm/src/errors.rs
parent1392965e05b445f75ab65f975d16e7f90e29bcff (diff)
parent5f367bbbd251b8cfb898f4d5711c9244888b1852 (diff)
downloadrust-5c91cc5d4c8e69ab4eb07e257aea66c5d1c98ca1.tar.gz
rust-5c91cc5d4c8e69ab4eb07e257aea66c5d1c98ca1.zip
Rollup merge of #129473 - Urgau:fix-llvm-if-unchanged, r=onur-ozkan
use  `download-ci-llvm=true` in the default compiler config

https://github.com/rust-lang/rust/commit/1ca2708e77ac735adc3824501667694b4f9c1303 made it so that the `src/llvm-project` submodule has to be checkout for `download-ci-llvm = "if-unchanged"` to know if the submodule has been changed, but that is not required, if the submodule hasn't been checkout it cannot have been modified.

~~This PR restore the previous behavior by only updating the submodule if it has already been checkout.~~

This PR makes `download-ci-llvm = true` check if CI llvm is available and make it the default for the compiler profile, as to prevent unnecessarily checking out `src/llvm-project` with `"if-unchanged"`.

r? `````@onur-ozkan`````
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions