-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Cannot write tests that need the csky backend #125697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
cc @erikdesjardins but also I think this was just an oversight. |
FWIW if one just adds this to a test it does pass on CI
but of course it may just be silently ignored, hard to say whether the test actually runs... this |
Yeah, the tidy check was added to reduce the fragility because a lot of people were giving names other than the LLVM component's name, like riscv64 instead of riscv, etc. |
The remaining question then is, how sure are we that the components accepted by tidy are all available on some CI runner? |
… r=Kobzol,lqd Give tidy the good news about C-SKY It seems this was overlooked in rust-lang#125472 because we don't test C-SKY much yet. Fixes rust-lang#125697 r? `@erikdesjardins`
In
tests/ui/abi/compatibility.rs
we're trying to test the ABI adjustment logic of all targets. This generally works as the test is no_core and LLVM has backends for all targets available -- except it does not seem possible to test the csky target that way. Trying to add the usualneeds-llvm-components: csky
leads to an error from tidy:The test passes just fine locally, so it seems like at least the downloaded LLVM has the
csky
component. I don't know why it was not added to tidy'sKNOWN_LLVM_COMPONENTS
list.Cc @Dirreke
The text was updated successfully, but these errors were encountered: