-
Notifications
You must be signed in to change notification settings - Fork 13.4k
compiletest powerpc64 arch is useless #47737
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
What about rust/src/tools/compiletest/src/util.rs Lines 37 to 38 in 79b25c6
|
Yes I think |
It seems... ungreat for compiletest to ignore tests tagged I think the right fix here is to make compiletest stricter (i.e., only match entire |
…hton Remove useless powerpc64 entry from ARCH_TABLE Hope, I understood the scope of the fix correctly. closes rust-lang#47737
…hton Remove useless powerpc64 entry from ARCH_TABLE Hope, I understood the scope of the fix correctly. closes rust-lang#47737
…hton Remove useless powerpc64 entry from ARCH_TABLE Hope, I understood the scope of the fix correctly. closes rust-lang#47737
…hton Remove useless powerpc64 entry from ARCH_TABLE Hope, I understood the scope of the fix correctly. closes rust-lang#47737
…ang#47737" This reverts commit 16ac85c.
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. Sincepowerpc
is a substring ofpowerpc64
, the entry forpowerpc64
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 fewignore-powerpc64le
headers which probably do nothing as well.The text was updated successfully, but these errors were encountered: