]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Rollup merge of #52914 - nagisa:sparc-is-sparc’s-own-business, r=alexcrichton
authorPietro Albini <pietro@pietroalbini.org>
Wed, 1 Aug 2018 08:13:07 +0000 (10:13 +0200)
committerGitHub <noreply@github.com>
Wed, 1 Aug 2018 08:13:07 +0000 (10:13 +0200)
commit52b52f3d1ac3562a751386c47419428ea38d382c
treec35f347a99364e32f19146a7ec58ca9ac6850379
parent14546cd5010b57735a76e1fa420405cb36092963
parent40a60464d4172db38f72a6f4f1141aa117f7d672
Rollup merge of #52914 - nagisa:sparc-is-sparc’s-own-business, r=alexcrichton

Only run the sparc-abi test on sparc

It is not required for LLVM to have SPARC target support, so it is
necessary to only run this test when LLVM does support SPARC. Sadly, it
isn’t possible to specify exactly this constraint. Instead, we specify
that this test should run on SPARC host only (it surely is sane
assumption to make that compiler running on a SPARC can generate
SPARC, right?)

Since you cannot specify multiple `only-*` to have it run on both 32-bit
and 64-bit SPARC we pick 64-bit SPARC, because it is exactly what is
being tested by this test.

Fixes #52881