[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)
committerRoberto C. Sánchez <roberto@debian.org>
Fri, 19 Nov 2021 21:58:46 +0000 (21:58 +0000)
commit4a137ecf7668cded568577c5772f2fafd06bd97c
tree28dec38a2228d6ebe97b26f476e752576126b374
parentf2e263c24e13b5af55202fe253a61f8978e3be07
[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