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:
Matthias Krüger 2025-10-04 17:11:12 +02:00 committed by GitHub
commit 6c24eeeb62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;