Skip to content

Commit 1aabebc

Browse files
committed
various minor target feature cleanups
1 parent 3a0881c commit 1aabebc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/gcc_util.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use smallvec::{SmallVec, smallvec};
66

77
fn gcc_features_by_flags(sess: &Session, features: &mut Vec<String>) {
88
target_features::retpoline_features_by_flags(sess, features);
9+
// FIXME: LLVM also sets +reserve-x18 here under some conditions.
910
}
1011

1112
/// 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
5960

6061
gcc_features_by_flags(sess, &mut features);
6162

62-
// FIXME: LLVM also sets +reserve-x18 here under some conditions.
63-
6463
features
6564
}
6665

0 commit comments

Comments
 (0)