summaryrefslogtreecommitdiff
path: root/user/rust/0017-test-target-feature-gate-Only-run-on-relevant-target.patch
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-02-19 23:12:03 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-02-19 23:12:03 +0000
commitc30463643e0f18200197fa7fc700805eac4d020c (patch)
tree599f32d5195512f7b700bb1f68abdbda7ee45281 /user/rust/0017-test-target-feature-gate-Only-run-on-relevant-target.patch
parent3e7e0ccf80173731eef6d51f8a261b6058bfad72 (diff)
parent3ad04696702c67ecbb84ee44d20b2489d77d841f (diff)
downloadpackages-c30463643e0f18200197fa7fc700805eac4d020c.tar.gz
packages-c30463643e0f18200197fa7fc700805eac4d020c.tar.bz2
packages-c30463643e0f18200197fa7fc700805eac4d020c.tar.xz
packages-c30463643e0f18200197fa7fc700805eac4d020c.zip
Merge branch 'rust' into 'master'
user/rust: Bump to 1.31.1 This needs updated binaries from https://portage.smaeul.xyz/distfiles/adelie/ See merge request !131
Diffstat (limited to 'user/rust/0017-test-target-feature-gate-Only-run-on-relevant-target.patch')
-rw-r--r--user/rust/0017-test-target-feature-gate-Only-run-on-relevant-target.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/rust/0017-test-target-feature-gate-Only-run-on-relevant-target.patch b/user/rust/0017-test-target-feature-gate-Only-run-on-relevant-target.patch
new file mode 100644
index 000000000..5e8c71668
--- /dev/null
+++ b/user/rust/0017-test-target-feature-gate-Only-run-on-relevant-target.patch
@@ -0,0 +1,37 @@
+From bc1a70133b259188ec4595eef8d11670cc8d64f5 Mon Sep 17 00:00:00 2001
+From: Samuel Holland <samuel@sholland.org>
+Date: Sun, 16 Sep 2018 16:39:46 +0000
+Subject: [PATCH 17/23] 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.19.2
+