about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2025-02-14 14:05:27 -0800
committerGitHub <noreply@github.com>2025-02-14 14:05:27 -0800
commitdb5238a525e288149686e8f70943758ec6d9d1bd (patch)
treea500f2085f98f089415836ab9a58b18132c08cb7 /compiler/rustc_parse/src/errors.rs
parentbaa5a76b97398bb3cef5f69a5a5ec0a201ba8a42 (diff)
parent2eff2155e5467c42f43143f282dd96f9ccb7bf08 (diff)
downloadrust-db5238a525e288149686e8f70943758ec6d9d1bd.tar.gz
rust-db5238a525e288149686e8f70943758ec6d9d1bd.zip
Rollup merge of #137037 - RalfJung:x86-sse2-abi, r=workingjubilee
add x86-sse2 (32bit) ABI that requires SSE2 target feature

This is the first commit of https://github.com/rust-lang/rust/pull/135408:

The primary goal of this is to make SSE2 required for our i686 targets (at least for the ones that use Pentium 4 as their baseline), to ensure they cannot be affected by https://github.com/rust-lang/rust/issues/114479. This has been MCPd in https://github.com/rust-lang/compiler-team/issues/808, and is tracked in https://github.com/rust-lang/rust/issues/133611.

We do this by defining a new ABI that these targets select, and making SSE2 required by the ABI (that's the first commit). That's kind of a hack, but it is the easiest way to make a target feature required via the target spec. In a follow-up change (https://github.com/rust-lang/rust/pull/135408), we can actually make use of SSE2 for the ABI, but that is running into some infrastructure issues.

r? `@workingjubilee`

try-job: aarch64-apple
try-job: aarch64-gnu
try-job: aarch64-gnu-debug
try-job: test-various
try-job: x86_64-gnu-nopt
try-job: dist-i586-gnu-i586-i686-musl
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions