The ARCH_TABLE in 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_arch which scans the table sequentially to see if a target contains an architecture in the table. Since powerpc is a substring of powerpc64, the entry for powerpc64 will never match anything and is therefore useless.
This also means that all ignore-powerpc64 headers in the testsuite currently do nothing. I also found a few ignore-powerpc64le headers which probably do nothing as well.
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.