Skip to main content


#Rustlang 1.67 added extra optimizations of struct layouts. This might break code that relied on the "don't rely on this" layout of Rust structs without `#[repr(C)]`.

If you want to ensure your code doesn't rely on undocumented struct layout, there's an nightly flag for that: github.com/rust-lang/rust/issu…

RUSTFLAGS="-Z randomize-layout" cargo +nightly test