diff options
| author | Ralf Jung <post@ralfj.de> | 2025-06-14 14:11:00 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2025-06-19 10:50:03 +0900 |
| commit | a50a3b8e318594c41783294e440d864763e412ef (patch) | |
| tree | 4d037d526deed94229c3b156e252f36b6c12827a /compiler/rustc_codegen_gcc | |
| parent | 0c4b0f57268b1e866eb7eb720caf815efcb85aeb (diff) | |
| download | rust-a50a3b8e318594c41783294e440d864763e412ef.tar.gz rust-a50a3b8e318594c41783294e440d864763e412ef.zip | |
various minor target feature cleanups
Diffstat (limited to 'compiler/rustc_codegen_gcc')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/gcc_util.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_gcc/src/gcc_util.rs b/compiler/rustc_codegen_gcc/src/gcc_util.rs index 562f4124882..42ba40692b7 100644 --- a/compiler/rustc_codegen_gcc/src/gcc_util.rs +++ b/compiler/rustc_codegen_gcc/src/gcc_util.rs @@ -6,6 +6,7 @@ use smallvec::{SmallVec, smallvec}; fn gcc_features_by_flags(sess: &Session, features: &mut Vec<String>) { target_features::retpoline_features_by_flags(sess, features); + // FIXME: LLVM also sets +reserve-x18 here under some conditions. } /// The list of GCC features computed from CLI flags (`-Ctarget-cpu`, `-Ctarget-feature`, @@ -59,8 +60,6 @@ pub(crate) fn global_gcc_features(sess: &Session, diagnostics: bool) -> Vec<Stri gcc_features_by_flags(sess, &mut features); - // FIXME: LLVM also sets +reserve-x18 here under some conditions. - features } |
