-
-
Notifications
You must be signed in to change notification settings - Fork 15k
compiletest powerpc64 arch is useless #47737
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-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.O-PowerPCTarget: PowerPC processorsTarget: PowerPC processorsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.O-PowerPCTarget: PowerPC processorsTarget: PowerPC processorsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
The
ARCH_TABLEin compiletest contains a useless entry for powerpc64.https://github.com/rust-lang/rust/blob/79b25c666fec/src/tools/compiletest/src/util.rs#L34
The only user of that table is
get_archwhich scans the table sequentially to see if a target contains an architecture in the table. Sincepowerpcis a substring ofpowerpc64, the entry forpowerpc64will never match anything and is therefore useless.This also means that all
ignore-powerpc64headers in the testsuite currently do nothing. I also found a fewignore-powerpc64leheaders which probably do nothing as well.