Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 183fc30

Browse files
authoredFeb 17, 2025
Rollup merge of rust-lang#137149 - Noratrieb:wtf-is-this-target, r=RalfJung
Remove SSE ABI from i586-pc-windows-msvc As an i586 target, it should not have SSE. This caused the following warning to be emitted: ``` warning: target feature `sse2` must be enabled to ensure that the ABI of the current target can be implemented correctly | = note: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue rust-lang#116344 <rust-lang#116344> warning: 1 warning emitted ``` see rust-lang#116344. r? RalfJung
2 parents 3293afb + 1c66d5b commit 183fc30

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎compiler/rustc_target/src/spec/targets/i586_pc_windows_msvc.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ use crate::spec::Target;
22

33
pub(crate) fn target() -> Target {
44
let mut base = super::i686_pc_windows_msvc::target();
5+
base.rustc_abi = None; // overwrite the SSE2 ABI set by the base target
56
base.cpu = "pentium".into();
67
base.llvm_target = "i586-pc-windows-msvc".into();
78
base

0 commit comments

Comments
 (0)
Failed to load comments.