UI test multiple-reprs
fails on targets that set c-enum-min-bits
#135777
Labels
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This part of the test assumes that the enum's discriminant has a size of
c_int
which is true for most targets but not for targets that setTargetOptions.c_enum_min_bits
likethumbv7em-none-eabihf
. Themultiple-reprs
test fails when run on those target.affected revision: b5741a3
I'll submit a PR fixing the test on those targets shortly
The text was updated successfully, but these errors were encountered: