summaryrefslogtreecommitdiff
path: root/user/rust/0018-test-target-feature-gate-Only-run-on-relevant-target.patch
blob: 5b77644b505c07de20a9ada2e868158fd8647b29 (plain) (blame)
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
From 73be7ecaabfa667da8a94d55069e61954c5525fe Mon Sep 17 00:00:00 2001
From: Samuel Holland <samuel@sholland.org>
Date: Sun, 16 Sep 2018 16:39:46 +0000
Subject: [PATCH 18/24] test/target-feature-gate: Only run on relevant targets

---
 src/test/ui/target-feature-gate.rs     | 2 ++
 src/test/ui/target-feature-gate.stderr | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/test/ui/target-feature-gate.rs b/src/test/ui/target-feature-gate.rs
index 8a045884ca..5e90417fc3 100644
--- a/src/test/ui/target-feature-gate.rs
+++ b/src/test/ui/target-feature-gate.rs
@@ -10,6 +10,8 @@
 
 // ignore-arm
 // ignore-aarch64
+// ignore-powerpc
+// ignore-powerpc64
 // ignore-wasm
 // ignore-emscripten
 // ignore-mips
diff --git a/src/test/ui/target-feature-gate.stderr b/src/test/ui/target-feature-gate.stderr
index f18bebc0c2..5458953601 100644
--- a/src/test/ui/target-feature-gate.stderr
+++ b/src/test/ui/target-feature-gate.stderr
@@ -1,5 +1,5 @@
 error[E0658]: the target feature `avx512bw` is currently unstable (see issue #44839)
-  --> $DIR/target-feature-gate.rs:29:18
+  --> $DIR/target-feature-gate.rs:31:18
    |
 LL | #[target_feature(enable = "avx512bw")]
    |                  ^^^^^^^^^^^^^^^^^^^
-- 
2.18.0