Rollup merge of #147280 - workingjubilee:you-can-put-your-gcc-in-my-llvm-components, r=Kobzol
Return to needs-llvm-components being info-only
Partially revert a535042e80
Even with non-LLVM codegen backends, we want to allow for annotations that express dependencies to LLVM-specific parts of the test suite. This includes `//@ needs-llvm-components`, which just allows checking that LLVM is built with relevant target support before the test is run. It does not assert the test cannot work with another codegen backend.
This commit is contained in:
commit
6c24eeeb62
1 changed files with 1 additions and 4 deletions
|
|
@ -281,10 +281,7 @@ pub(super) fn handle_needs(
|
|||
|
||||
// Handled elsewhere.
|
||||
if name == "needs-llvm-components" {
|
||||
if config.default_codegen_backend.is_llvm() {
|
||||
return IgnoreDecision::Continue;
|
||||
}
|
||||
return IgnoreDecision::Ignore { reason: "LLVM specific test".into() };
|
||||
return IgnoreDecision::Continue;
|
||||
}
|
||||
|
||||
let mut found_valid = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue