about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2023-07-27 14:07:08 -0700
committerJosh Stone <jistone@redhat.com>2023-07-27 14:07:08 -0700
commit190ded84434f435b9626a07278b9ed0e7603bd11 (patch)
tree7c607136ad3c78101e320d8a0973afb20cdf7de9 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent9339f446a5302cd5041d3f3b5e59761f36699167 (diff)
downloadrust-190ded84434f435b9626a07278b9ed0e7603bd11.tar.gz
rust-190ded84434f435b9626a07278b9ed0e7603bd11.zip
Update the minimum external LLVM to 15
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm_util.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs
index 4f20fbf2045..6ae738174bf 100644
--- a/compiler/rustc_codegen_llvm/src/llvm_util.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs
@@ -507,8 +507,6 @@ pub(crate) fn global_llvm_features(sess: &Session, diagnostics: bool) -> Vec<Str
             .features
             .split(',')
             .filter(|v| !v.is_empty() && backend_feature_name(v).is_some())
-            // Drop +atomics-32 feature introduced in LLVM 15.
-            .filter(|v| *v != "+atomics-32" || get_version() >= (15, 0, 0))
             .map(String::from),
     );