about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorcynecx <me@cynecx.net>2021-11-30 11:36:55 +0100
committercynecx <me@cynecx.net>2021-12-03 23:51:49 +0100
commitafdafcbcf8d4618d114da4449082e39ee54644db (patch)
tree5718ed1676c7adf795e00d39114a997a0aa9b3fe /src
parent233dede5b67ef6edc97797663a671538dcbd3c57 (diff)
downloadrust-afdafcbcf8d4618d114da4449082e39ee54644db.tar.gz
rust-afdafcbcf8d4618d114da4449082e39ee54644db.zip
fix feature-gate test for may_unwind
Diffstat (limited to 'src')
-rw-r--r--src/test/ui/feature-gates/feature-gate-asm_unwind.rs2
-rw-r--r--src/test/ui/feature-gates/feature-gate-asm_unwind.stderr2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/test/ui/feature-gates/feature-gate-asm_unwind.rs b/src/test/ui/feature-gates/feature-gate-asm_unwind.rs
index a7765bef293..c9957ff91d5 100644
--- a/src/test/ui/feature-gates/feature-gate-asm_unwind.rs
+++ b/src/test/ui/feature-gates/feature-gate-asm_unwind.rs
@@ -1,3 +1,5 @@
+// only-x86_64
+
 #![feature(asm)]
 
 fn main() {
diff --git a/src/test/ui/feature-gates/feature-gate-asm_unwind.stderr b/src/test/ui/feature-gates/feature-gate-asm_unwind.stderr
index 67a5921a647..6b5bf286e7b 100644
--- a/src/test/ui/feature-gates/feature-gate-asm_unwind.stderr
+++ b/src/test/ui/feature-gates/feature-gate-asm_unwind.stderr
@@ -1,5 +1,5 @@
 error[E0658]: the `may_unwind` option is unstable
-  --> $DIR/feature-gate-asm_unwind.rs:5:9
+  --> $DIR/feature-gate-asm_unwind.rs:7:9
    |
 LL |         asm!("", options(may_unwind));
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^