-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove the option to disable llvm-version-check
#108619
Conversation
cc @rust-lang/wg-llvm |
I've never used this on Fedora, but wow, I touched that config way back in #45326! It looks like the original #22147 was motivated to allow newer LLVM versions than were known to work. My change made us check for anything >= minimum, so newer is always allowed (but not guaranteed), while the flag could allow older. Today, we have folks actively working to make sure that newer LLVM (on its So, I do think it's reasonable to remove this. Do we have a compatibility story around the build config though? I think bootstrap will barf if |
Right now the only thing we really have is |
Yes, I think we should feel comfortable just dropping options - though a note in the changelog that we did so doesn't seem unreasonable. |
We don't support old versions of LLVM; there's no reason to have an easy way to force bootstrap to use them anyway. If someone really needs to use an unsupported version, they can modify bootstrap to change the version range.
901241f
to
8becfed
Compare
@bors r+ rollup |
Remove the option to disable `llvm-version-check` We don't support old versions of LLVM; there's no reason to have an easy way to force bootstrap to use them anyway. If someone really needs to use an unsupported version, they can modify bootstrap to change the version range. r? `@cuviper` on whether we want to do this or not, since you maintain rust on Fedora and touched this config last.
Rollup of 7 pull requests Successful merges: - rust-lang#108619 (Remove the option to disable `llvm-version-check`) - rust-lang#108728 (infer: fix and improve comments) - rust-lang#108731 (feat: impl better help for `.poll()` not found on `impl Future`) - rust-lang#108774 (Greatly improve the error messages when `run-make/translation` fails) - rust-lang#108805 (Update askama to 0.12 and improve whitespace control) - rust-lang#108823 (Add tracking issue for cf-protection to unstable book) - rust-lang#108855 (Custom MIR: Support `as` casts) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
We don't support old versions of LLVM; there's no reason to have an easy way to force bootstrap to use them anyway. If someone really needs to use an unsupported version, they can modify bootstrap to change the version range.
r? @cuviper on whether we want to do this or not, since you maintain rust on Fedora and touched this config last.