about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-11-01 22:56:12 +0800
committerkennytm <kennytm@gmail.com>2018-11-01 22:56:12 +0800
commit1a25f22c801ffb277385f76c494634f388343fb0 (patch)
tree0c2ab4b0a5225a103b6f57ca21eed6884afa592a /src/rustllvm/RustWrapper.cpp
parent9550bc06dc984f31d61e78aaa09ca93dbcc5e076 (diff)
parent283f2be1421eca11b1a3abbaac40ca946e806037 (diff)
downloadrust-1a25f22c801ffb277385f76c494634f388343fb0.tar.gz
rust-1a25f22c801ffb277385f76c494634f388343fb0.zip
Rollup merge of #55561 - smaeul:test-fixes, r=alexcrichton
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.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions