[PATCH] Check for asm support in UI tests that require it
authorTomasz Miąsko <tomasz.miasko@gmail.com>
Sun, 11 Apr 2021 00:00:00 +0000 (00:00 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Sun, 26 Sep 2021 02:25:38 +0000 (03:25 +0100)
commit72ded1891d0bd2cc91168ac71acbb49576c44b7b
treef61d1fb52d53faccc95707487df17737fae1e67c
parent473991adc28c6d955fc64cffe6dcdfcb5f5b3ee1
[PATCH] Check for asm support in UI tests that require it

Add `needs-asm-support` compiletest directive, and use it in asm tests
that require asm support without relying on any architecture specific
features.

Gbp-Pq: Name u-84099.patch
src/test/ui/asm/bad-options.rs
src/test/ui/asm/naked-invalid-attr.rs
src/test/ui/feature-gates/feature-gate-naked_functions.rs
src/test/ui/feature-gates/feature-gate-naked_functions.stderr
src/test/ui/rfc-2091-track-caller/error-with-naked.rs
src/test/ui/rfc-2091-track-caller/error-with-naked.stderr
src/tools/compiletest/src/header.rs
src/tools/compiletest/src/header/tests.rs
src/tools/compiletest/src/util.rs