mozilla/rust — Issue #1704: feature request: allow packed types
Author: bnoordhuis
Created: 2012-01-30 00:39:04+00:00
State: open

Would it be possible to add support for packed types? Types appear to be unpacked right now (which is fine in itself) but it blocks interop with C APIs like `epoll_wait`.

Example: on x86_64, `(0u32, 0u64)` is 12 bytes when packed and 16 bytes when unpacked.