From 59bf63b1446b135dd573c14ef1d426e42e02ff37 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Wed, 29 Dec 2021 15:14:50 +0100 Subject: [PATCH] Add a couple needs-asm-support headers to tests This will allow them to be ignored by codegen backends that don't support inline asm. --- src/test/incremental/hashes/inline_asm.rs | 1 + src/test/incremental/issue-72386.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/test/incremental/hashes/inline_asm.rs b/src/test/incremental/hashes/inline_asm.rs index a5d53258a7bd0..1ddb345e5664c 100644 --- a/src/test/incremental/hashes/inline_asm.rs +++ b/src/test/incremental/hashes/inline_asm.rs @@ -8,6 +8,7 @@ // build-pass (FIXME(62277): could be check-pass?) // revisions: cfail1 cfail2 cfail3 cfail4 cfail5 cfail6 // compile-flags: -Z query-dep-graph +// needs-asm-support // [cfail1]compile-flags: -Zincremental-ignore-spans // [cfail2]compile-flags: -Zincremental-ignore-spans // [cfail3]compile-flags: -Zincremental-ignore-spans diff --git a/src/test/incremental/issue-72386.rs b/src/test/incremental/issue-72386.rs index be624faad04b1..5917152e1bcfe 100644 --- a/src/test/incremental/issue-72386.rs +++ b/src/test/incremental/issue-72386.rs @@ -1,4 +1,5 @@ // revisions: rpass1 cfail1 rpass3 +// needs-asm-support // only-x86_64 // Regression test for issue #72386 // Checks that we don't ICE when switching to an invalid register