-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Cannot write tests that need the csky backend #125697
Copy link
Copy link
Closed
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.Category: This is a bug.O-cskyTarget: glaCSKY above covers over me~Target: glaCSKY above covers over me~T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Metadata
Metadata
Assignees
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.Category: This is a bug.O-cskyTarget: glaCSKY above covers over me~Target: glaCSKY above covers over me~T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Type
Fields
Give feedbackNo fields configured for issues without a type.
In
tests/ui/abi/compatibility.rswe'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: cskyleads to an error from tidy:The test passes just fine locally, so it seems like at least the downloaded LLVM has the
cskycomponent. I don't know why it was not added to tidy'sKNOWN_LLVM_COMPONENTSlist.Cc @Dirreke