Skip to content
Snippets Groups Projects
Commit 44a063ab authored by bors's avatar bors
Browse files

Auto merge of #1531 - gnzlbg:fixs, r=gnzlbg

Fix max_align_t
parents 90269e85 56d46471
No related branches found
No related tags found
No related merge requests found
cfg_if! {
if #[cfg(target_pointer_width = "64")] {
#[derive(Copy, Clone, Debug, PartialEq)]
#[repr(C, align(16))] pub struct max_align_t([f64; 4]);
s_no_extra_traits! {
#[allow(missing_debug_implementations)]
#[repr(align(16))]
pub struct max_align_t {
priv_: [f64; 4]
}
}
} else if #[cfg(target_pointer_width = "32")] {
#[derive(Copy, Clone, Debug, PartialEq)]
#[repr(C, align(16))] pub struct max_align_t([i64; 6]);
s_no_extra_traits! {
#[allow(missing_debug_implementations)]
#[repr(align(16))]
pub struct max_align_t {
priv_: [i64; 6]
}
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment