Skip to content

Commit 2e8923b

Browse files
committed
Update to 1.79.0
python3-rpm is added (temporarily) to work around https://bugzilla.redhat.com/show_bug.cgi?id=2275274. The binutils-gold dependency is needed for one test. Previously binutils implicitly dependend on binutils-gold. Backport rust-lang/rust#126263 to fix one codegen test failure on s390x. There are some additional test failures on ppc64le and s390x for which I have filed rust-lang/rust#126260 and rust-lang/rust#126261.
1 parent 42d132a commit 2e8923b

14 files changed

+86
-947
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -435,3 +435,4 @@
435435
/rustc-1.77.0-src.tar.xz
436436
/rustc-1.77.2-src.tar.xz
437437
/rustc-1.78.0-src.tar.xz
438+
/rustc-1.79.0-src.tar.xz

0001-Fix-2-tests-for-offline-execution.patch

-59
This file was deleted.

0001-Fix-UI-tests-with-dist-vendored-dependencies.patch

-49
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
From 26fa5c2c300f3c3a3ee3109c009bd4a6803a2a4c Mon Sep 17 00:00:00 2001
2+
From: Nikita Popov <npopov@redhat.com>
3+
Date: Tue, 11 Jun 2024 10:13:07 +0200
4+
Subject: [PATCH] Make issue-122805.rs big endian compatible
5+
6+
Instead of not generating the function at all on big endian (which
7+
makes the CHECK lines fail), instead use to_le() on big endian,
8+
so that we essentially perform a bswap for both endiannesses.
9+
---
10+
tests/codegen/issues/issue-122805.rs | 21 ++++++++++++---------
11+
1 file changed, 12 insertions(+), 9 deletions(-)
12+
13+
diff --git a/tests/codegen/issues/issue-122805.rs b/tests/codegen/issues/issue-122805.rs
14+
index 6d108ada6dd..8e03c6c8884 100644
15+
--- a/tests/codegen/issues/issue-122805.rs
16+
+++ b/tests/codegen/issues/issue-122805.rs
17+
@@ -39,17 +39,20 @@
18+
// OPT3WINX64-NEXT: store <8 x i16>
19+
// CHECK-NEXT: ret void
20+
#[no_mangle]
21+
-#[cfg(target_endian = "little")]
22+
pub fn convert(value: [u16; 8]) -> [u8; 16] {
23+
+ #[cfg(target_endian = "little")]
24+
+ let bswap = u16::to_be;
25+
+ #[cfg(target_endian = "big")]
26+
+ let bswap = u16::to_le;
27+
let addr16 = [
28+
- value[0].to_be(),
29+
- value[1].to_be(),
30+
- value[2].to_be(),
31+
- value[3].to_be(),
32+
- value[4].to_be(),
33+
- value[5].to_be(),
34+
- value[6].to_be(),
35+
- value[7].to_be(),
36+
+ bswap(value[0]),
37+
+ bswap(value[1]),
38+
+ bswap(value[2]),
39+
+ bswap(value[3]),
40+
+ bswap(value[4]),
41+
+ bswap(value[5]),
42+
+ bswap(value[6]),
43+
+ bswap(value[7]),
44+
];
45+
unsafe { core::mem::transmute::<_, [u8; 16]>(addr16) }
46+
}
47+
--
48+
2.45.1
49+

0001-Set-the-host-library-path-in-run-make-v2.patch

-79
This file was deleted.

0 commit comments

Comments
 (0)