Closed
Description
The following code:
use std::mem;
fn main() {
println!("sizeof u64: {}, alignof u64: {}",
mem::size_of::<u64>(), mem::align_of::<u64>());
println!("sizeof f64: {}, alignof f64: {}",
mem::size_of::<f64>(), mem::align_of::<f64>());
}
with
rustc test.rs --target=i686-unknown-linux-gnu
The generated executable outputs:
sizeof u64: 8, alignof u64: 4
sizeof f64: 8, alignof f64: 4
which matches neither gcc nor clang.
And this issue seems to block linux32-stylo.
Metadata
Metadata
Assignees
Labels
No labels