You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Rust Flatbuffers library currently relies on Rust's notion of alignment, which is platform dependent. We should audit/remove all use of align_of::<T>() and use our own trait for flatbuffers types.
Note that since &[u8] is alignment 1 in Rust, our generated Rust code doesn't assume things are aligned, but we may create unaligned buffers that will be read on other languages/platforms
The Rust Flatbuffers library currently relies on Rust's notion of alignment, which is platform dependent. We should audit/remove all use of
align_of::<T>()
and use our own trait for flatbuffers types.Note that since
&[u8]
is alignment 1 in Rust, our generated Rust code doesn't assume things are aligned, but we may create unaligned buffers that will be read on other languages/platformsDiscovered in #7015
Blocking #7103
The text was updated successfully, but these errors were encountered: