We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
if-unchanged
download-ci-llvm
1 parent 85ad75b commit c349e6bCopy full SHA for c349e6b
src/bootstrap/src/core/config/config.rs
@@ -3094,7 +3094,14 @@ impl Config {
3094
download_ci_llvm: Option<StringOrBool>,
3095
asserts: bool,
3096
) -> bool {
3097
- let download_ci_llvm = download_ci_llvm.unwrap_or(StringOrBool::Bool(true));
+ // We don't ever want to use `true` on CI, as we should not
3098
+ // download upstream artifacts if there are any local modifications.
3099
+ let default = if CiEnv::is_ci() {
3100
+ StringOrBool::String("if-unchanged".to_string())
3101
+ } else {
3102
+ StringOrBool::Bool(true)
3103
+ };
3104
+ let download_ci_llvm = download_ci_llvm.unwrap_or(default);
3105
3106
let if_unchanged = || {
3107
if self.rust_info.is_from_tarball() {
0 commit comments