Closed lambda-fairy closed 8 years ago
Because of how attribute parsing works, #[repr(C,u16)] is in fact equivalent to just #[repr(C)].
#[repr(C,u16)]
#[repr(C)]
This commit changes the attribute to #[repr(u16)] instead.
#[repr(u16)]
See rust-lang/rust#34622
Seems to be fixed now, nvm
Because of how attribute parsing works,
#[repr(C,u16)]
is in fact equivalent to just#[repr(C)]
.This commit changes the attribute to
#[repr(u16)]
instead.See rust-lang/rust#34622