about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2014-02-02 18:04:05 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2014-02-02 19:55:41 +0100
commit6121acf97d94193a653acce7d9baf81c59d20eab (patch)
treefb230cb2d27ba160021b0c9e60960be54fffc4f5 /src/rustllvm/RustWrapper.cpp
parent3e0eb3c0bf9a220e4e44014df08ffd2d1194315b (diff)
downloadrust-6121acf97d94193a653acce7d9baf81c59d20eab.tar.gz
rust-6121acf97d94193a653acce7d9baf81c59d20eab.zip
libnative: fix epoll_event struct layout
Make the definition of epoll_event use natural alignment on all
architectures except x86_64.

Before this commit, the struct was always 12 bytes big, which works okay
on x86 and x86_64 but not on ARM and MIPS, where it should be 16 bytes
big with the `data` field aligned on an 8 byte boundary.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions