diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-06-23 09:59:06 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-06-23 09:59:06 +0000 |
| commit | fc8631bb1b818f81d89807fa356d6877fb989aba (patch) | |
| tree | df9e339952a6a449fe12edb3332836e297ddb833 /src | |
| parent | 3719abbb33c7925e29a7d5c92a5c33e1ef0cb3ca (diff) | |
| parent | e3882618c887f6a6049a99edcf91094a64bd57f3 (diff) | |
| download | rust-fc8631bb1b818f81d89807fa356d6877fb989aba.tar.gz rust-fc8631bb1b818f81d89807fa356d6877fb989aba.zip | |
Sync from rust be19eda0dc4c22c5cf5f1b48fd163acf9bd4b0a6
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs index 07ea29f3024..8e34436fb5e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -184,7 +184,7 @@ impl CodegenBackend for CraneliftCodegenBackend { // FIXME return the actually used target features. this is necessary for #[cfg(target_feature)] let target_features = if sess.target.arch == "x86_64" && sess.target.os != "none" { // x86_64 mandates SSE2 support and rustc requires the x87 feature to be enabled - vec![sym::fsxr, sym::sse, sym::sse2, Symbol::intern("x87")] + vec![sym::fxsr, sym::sse, sym::sse2, Symbol::intern("x87")] } else if sess.target.arch == "aarch64" { match &*sess.target.os { "none" => vec![], |
