[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)
committerXimin Luo <infinity0@debian.org>
Sat, 18 Sep 2021 10:45:21 +0000 (11:45 +0100)
commitedcf5bc580eff79e957ea14b4b3e7096a2ccbfcb
tree1cde29a9c4eae2c23d3cb61af6561653292c2c9d
parent81b2b944a0af1f10eb6f7b3b48106feca830d0d9
[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