summaryrefslogtreecommitdiffstats
path: root/debian/patches/u-ignore-endian-big-diff.patch
blob: faa270173a4edacfc72041eda9a8fd6a8dcfba2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
From: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Date: Thu, 14 Jul 2022 13:17:37 +0200
Subject: u-ignore-endian-big-diff

Bug: https://github.com/rust-lang/rust/issues/89577

===================================================================
---
 src/test/ui/consts/const-eval/ub-enum.rs      | 1 +
 src/test/ui/consts/const-eval/ub-int-array.rs | 1 +
 src/test/ui/consts/const-eval/ub-nonnull.rs   | 1 +
 src/test/ui/consts/const-eval/ub-ref-ptr.rs   | 1 +
 src/test/ui/consts/const-eval/ub-uninhabit.rs | 1 +
 src/test/ui/consts/const-eval/ub-wide-ptr.rs  | 1 +
 6 files changed, 6 insertions(+)

Index: rust/tests/ui/consts/const-eval/ub-enum.rs
===================================================================
--- rust.orig/tests/ui/consts/const-eval/ub-enum.rs
+++ rust/tests/ui/consts/const-eval/ub-enum.rs
@@ -1,3 +1,4 @@
+// ignore-test
 // stderr-per-bitwidth
 // Strip out raw byte dumps to make comparison platform-independent:
 // normalize-stderr-test "(the raw bytes of the constant) \(size: [0-9]*, align: [0-9]*\)" -> "$1 (size: $$SIZE, align: $$ALIGN)"
Index: rust/tests/ui/consts/const-eval/ub-int-array.rs
===================================================================
--- rust.orig/tests/ui/consts/const-eval/ub-int-array.rs
+++ rust/tests/ui/consts/const-eval/ub-int-array.rs
@@ -1,3 +1,4 @@
+// ignore-test
 // stderr-per-bitwidth
 //! Test the "array of int" fast path in validity checking, and in particular whether it
 //! points at the right array element.
Index: rust/tests/ui/consts/const-eval/ub-nonnull.rs
===================================================================
--- rust.orig/tests/ui/consts/const-eval/ub-nonnull.rs
+++ rust/tests/ui/consts/const-eval/ub-nonnull.rs
@@ -1,3 +1,4 @@
+// ignore-test
 // Strip out raw byte dumps to make comparison platform-independent:
 // normalize-stderr-test "(the raw bytes of the constant) \(size: [0-9]*, align: [0-9]*\)" -> "$1 (size: $$SIZE, align: $$ALIGN)"
 // normalize-stderr-test "([0-9a-f][0-9a-f] |╾─*a(lloc)?[0-9]+(\+[a-z0-9]+)?─*╼ )+ *│.*" -> "HEX_DUMP"
Index: rust/tests/ui/consts/const-eval/ub-ref-ptr.rs
===================================================================
--- rust.orig/tests/ui/consts/const-eval/ub-ref-ptr.rs
+++ rust/tests/ui/consts/const-eval/ub-ref-ptr.rs
@@ -1,3 +1,4 @@
+// ignore-test
 // ignore-tidy-linelength
 // Strip out raw byte dumps to make comparison platform-independent:
 // normalize-stderr-test "(the raw bytes of the constant) \(size: [0-9]*, align: [0-9]*\)" -> "$1 (size: $$SIZE, align: $$ALIGN)"
Index: rust/tests/ui/consts/const-eval/ub-uninhabit.rs
===================================================================
--- rust.orig/tests/ui/consts/const-eval/ub-uninhabit.rs
+++ rust/tests/ui/consts/const-eval/ub-uninhabit.rs
@@ -1,3 +1,4 @@
+// ignore-test
 // Strip out raw byte dumps to make comparison platform-independent:
 // normalize-stderr-test "(the raw bytes of the constant) \(size: [0-9]*, align: [0-9]*\)" -> "$1 (size: $$SIZE, align: $$ALIGN)"
 // normalize-stderr-test "([0-9a-f][0-9a-f] |╾─*a(lloc)?[0-9]+(\+[a-z0-9]+)?─*╼ )+ *│.*" -> "HEX_DUMP"
Index: rust/tests/ui/consts/const-eval/ub-wide-ptr.rs
===================================================================
--- rust.orig/tests/ui/consts/const-eval/ub-wide-ptr.rs
+++ rust/tests/ui/consts/const-eval/ub-wide-ptr.rs
@@ -1,3 +1,4 @@
+// ignore-test
 // ignore-tidy-linelength
 #![allow(unused)]