]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #55561 - smaeul:test-fixes, r=alexcrichton
authorkennytm <kennytm@gmail.com>
Thu, 1 Nov 2018 14:56:12 +0000 (22:56 +0800)
committerkennytm <kennytm@gmail.com>
Thu, 1 Nov 2018 14:56:12 +0000 (22:56 +0800)
Fix double_check tests on big-endian targets

Since the enums get optimized down to 1 byte long, the bits set in the `usize` member don't align with the `enum` values on big-endian machines. Avoid this issue by shrinking the integer member to the
same size as the enums.


Trivial merge