Skip to content

Commit 6d2a34c

Browse files
authored
Unrolled build for #142874
Rollup merge of #142874 - marxin:cranelift-typo-fix, r=bjorn3 cranelift: fix target feature name typo: "fxsr" Fix a typo introduced in 71b698c CC: `@clubby789` `@bjorn3`
2 parents c2ec753 + 75674e2 commit 6d2a34c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_codegen_cranelift/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
184184
// FIXME return the actually used target features. this is necessary for #[cfg(target_feature)]
185185
let target_features = if sess.target.arch == "x86_64" && sess.target.os != "none" {
186186
// x86_64 mandates SSE2 support and rustc requires the x87 feature to be enabled
187-
vec![sym::fsxr, sym::sse, sym::sse2, Symbol::intern("x87")]
187+
vec![sym::fxsr, sym::sse, sym::sse2, Symbol::intern("x87")]
188188
} else if sess.target.arch == "aarch64" {
189189
match &*sess.target.os {
190190
"none" => vec![],

compiler/rustc_span/src/symbol.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1080,14 +1080,14 @@ symbols! {
10801080
fs_create_dir,
10811081
fsub_algebraic,
10821082
fsub_fast,
1083-
fsxr,
10841083
full,
10851084
fundamental,
10861085
fused_iterator,
10871086
future,
10881087
future_drop_poll,
10891088
future_output,
10901089
future_trait,
1090+
fxsr,
10911091
gdb_script_file,
10921092
ge,
10931093
gen_blocks,

0 commit comments

Comments
 (0)