about summary refs log tree commit diff
diff options
context:
space:
mode:
authorantoyo <antoyo@users.noreply.github.com>2025-05-06 18:21:42 -0400
committerGitHub <noreply@github.com>2025-05-06 18:21:42 -0400
commit633ecc82d604270f875efa4fd98d7279d3db870c (patch)
tree2a55376f06a099f591dab75163131be246f550e1
parent1047a7c43281453f30eb30f39000f69bdfe74e8f (diff)
parente608520b12b3f6521312287831156e1ba309c5f2 (diff)
Merge pull request #660 from rust-lang/fix/disabling-sse
Stop ignoring the feature -sse
-rw-r--r--src/attributes.rs10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/attributes.rs b/src/attributes.rs
index 69b04dd5796..8bc1b770243 100644
--- a/src/attributes.rs
+++ b/src/attributes.rs
@@ -88,14 +88,8 @@ pub fn from_fn_attrs<'gcc, 'tcx>(
     let target_features = function_features
         .iter()
         .filter_map(|feature| {
-            // FIXME(antoyo): for some reasons, disabling SSE results in the following error when
-            // compiling Rust for Linux:
-            // SSE register return with SSE disabled
-            // TODO(antoyo): support soft-float and retpoline-external-thunk.
-            if feature.contains("soft-float")
-                || feature.contains("retpoline-external-thunk")
-                || *feature == "-sse"
-            {
+            // TODO(antoyo): support soft-float.
+            if feature.contains("soft-float") {
                 return None;
             }