diff options
| author | Josh Stone <jistone@redhat.com> | 2021-11-05 10:28:12 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2021-11-05 10:28:12 -0700 |
| commit | c9567e24248847ba2b2809eb3a8c86a76439807e (patch) | |
| tree | 4b1bd81df48a6da71cff8994e07433644db286d7 /compiler/rustc_codegen_llvm/src | |
| parent | 1d04577ee05e18cb9d25bbfac6d5a0302f380de8 (diff) | |
| download | rust-c9567e24248847ba2b2809eb3a8c86a76439807e.tar.gz rust-c9567e24248847ba2b2809eb3a8c86a76439807e.zip | |
Move outline-atomics to aarch64-linux target definitions
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm_util.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs index 246bb88885d..3e0ea92ab81 100644 --- a/compiler/rustc_codegen_llvm/src/llvm_util.rs +++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs @@ -406,11 +406,6 @@ pub fn llvm_global_features(sess: &Session) -> Vec<String> { // -Ctarget-features features.extend(sess.opts.cg.target_feature.split(',').flat_map(&filter)); - // FIXME: Move outline-atomics to target definition when earliest supported LLVM is 12. - if get_version() >= (12, 0, 0) && sess.target.llvm_target.contains("aarch64-unknown-linux") { - features.push("+outline-atomics".to_string()); - } - features } |
