summaryrefslogtreecommitdiff
path: root/dev-lang/rust/files/1.82.0-i586-baseline.patch
diff options
context:
space:
mode:
authorMatt Jolly <kangie@gentoo.org>2025-05-31 15:50:02 +1000
committerMatt Jolly <kangie@gentoo.org>2025-06-04 07:36:55 +1000
commitae88df88b95f8e67016487beeeb22de75a071ec9 (patch)
tree16b3077566a83e5b21d7706d9d43fb5e0363cecd /dev-lang/rust/files/1.82.0-i586-baseline.patch
parent66a491e379ce61aa6a4bf6598013a2790d763943 (diff)
downloadgentoo-ae88df88b95f8e67016487beeeb22de75a071ec9.tar.gz
gentoo-ae88df88b95f8e67016487beeeb22de75a071ec9.tar.bz2
gentoo-ae88df88b95f8e67016487beeeb22de75a071ec9.zip
dev-lang/rust: drop i586 baseline patch
Rust upstream have identified issues with this patch relating to broken x87 handling in LLVM. Drop the patch and revbump all impacted revisions to ensure that this is cleaned up. Closes: https://www.github.com/gentoo/gentoo/pulls/40616 Signed-off-by: Matt Jolly <kangie@gentoo.org>
Diffstat (limited to 'dev-lang/rust/files/1.82.0-i586-baseline.patch')
-rw-r--r--dev-lang/rust/files/1.82.0-i586-baseline.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/dev-lang/rust/files/1.82.0-i586-baseline.patch b/dev-lang/rust/files/1.82.0-i586-baseline.patch
deleted file mode 100644
index 25c4a1a1dd56..000000000000
--- a/dev-lang/rust/files/1.82.0-i586-baseline.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-Bug: https://bugs.gentoo.org/741708
-From: Ian Jordan <immoloism@gmail.com>
-Date: Thu, 01 Nov 204 15:28:39 +0100
-Subject: Change Pentium4 baseline to i586
-
-Based on the Debian patch at https://sources.debian.org/patches/rustc/1.80.1%2Bdfsg1-1/behaviour/d-rustc-i686-baseline.patch/
-This lowers baseline from Pentium4 to i586.
-
-Thanks-to: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
-
---- a/compiler/rustc_target/src/spec/targets/i686_unknown_linux_gnu.rs
-+++ b/compiler/rustc_target/src/spec/targets/i686_unknown_linux_gnu.rs
-@@ -2,7 +2,7 @@ use crate::spec::{base, Cc, LinkerFlavor, Lld, SanitizerSet, StackProbeType, Tar
-
- pub fn target() -> Target {
- let mut base = base::linux_gnu::opts();
-- base.cpu = "pentium4".into();
-+ base.cpu = "pentiumpro".into();
- base.max_atomic_width = Some(64);
- base.supported_sanitizers = SanitizerSet::ADDRESS;
- base.add_pre_link_args(LinkerFlavor::Gnu(Cc::Yes, Lld::No), &["-m32"]);
---- a/tests/ui/abi/homogenous-floats-target-feature-mixup.rs
-+++ b/tests/ui/abi/homogenous-floats-target-feature-mixup.rs
-@@ -24,7 +24,8 @@ fn main() {
- match std::env::var("TARGET") {
- Ok(s) => {
- // Skip this tests on i586-unknown-linux-gnu where sse2 is disabled
-- if s.contains("i586") {
-+ // Debian: our i686 doesn't have SSE 2..
-+ if s.contains("i586") || s.contains("i686") {
- return
- }
- }
---- a/tests/ui/sse2.rs
-+++ b/tests/ui/sse2.rs
-@@ -16,7 +16,7 @@ fn main() {
- }
- Err(_) => return,
- }
-- if cfg!(any(target_arch = "x86", target_arch = "x86_64")) {
-+ if cfg!(any(target_arch = "x86_64")) {
- assert!(cfg!(target_feature = "sse2"),
- "SSE2 was not detected as available on an x86 platform");
- }