-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
compiletest powerpc64 arch is useless #47737
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: