]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #104512 - jyn514:download-ci-llvm-default, r=Mark-Simulacrum
authorMatthias Krüger <matthias.krueger@famsik.de>
Sat, 10 Dec 2022 08:24:41 +0000 (09:24 +0100)
committerGitHub <noreply@github.com>
Sat, 10 Dec 2022 08:24:41 +0000 (09:24 +0100)
commit1ce18d2d658eb8b1625965e5a50d040d5c8f05c1
tree17a9f902150ea7f67f9d940125bf8375be655c45
parent0f5d3ba30f33116a610e5f9f2bb60f3ce120a167
parentac672621c0d9f10c0f5026cadba4b326eb213856
Rollup merge of #104512 - jyn514:download-ci-llvm-default, r=Mark-Simulacrum

Set `download-ci-llvm = "if-available"` by default when `channel = dev`

See https://github.com/rust-lang/compiler-team/issues/566. The motivation for changing the default is to avoid downloading and building LLVM when someone runs `x build` before running `x setup`. The motivation for only doing it on `channel = "dev"` is to avoid breaking distros or users installing from source. It works because `dev` is also the default channel.

The diff looks larger than it is; most of it is moving the `llvm` branch below the `rust` so `config.channel` is set.

r? `@Mark-Simulacrum` cc `@oli-obk` `@bjorn3` `@cuviper`
config.toml.example
src/bootstrap/config.rs
src/bootstrap/lib.rs