diff options
| author | Samuel Holland <samuel@sholland.org> | 2018-09-16 18:27:56 +0000 |
|---|---|---|
| committer | Samuel Holland <samuel@sholland.org> | 2018-11-01 01:03:20 +0000 |
| commit | 283f2be1421eca11b1a3abbaac40ca946e806037 (patch) | |
| tree | d140bc9066ee95fd80c95c31a24b3295d67529af /src/rustllvm/RustWrapper.cpp | |
| parent | de9666f123e800d5fc34210f23127aa6a5d6e4ef (diff) | |
| download | rust-283f2be1421eca11b1a3abbaac40ca946e806037.tar.gz rust-283f2be1421eca11b1a3abbaac40ca946e806037.zip | |
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 enums 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
