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
{{ message }}
Repository navigation
ArrayVec is undefined behavior when storing types with invalid bit patterns #105
This simply is UB in Rust for any types with invalid bit patterns (most notably references). Just creating an uninitialized value with these bit patterns is UB.
Activity
bluss commentedon Oct 27, 2018
Thanks, this is something that has clarified a lot in recent versions of Rust, and we should be able to use MaybeUninitialized soon.
bluss commentedon Nov 25, 2018
See also #97 and related issues and prs
bluss commentedon Jul 10, 2019
Closed by #127 with the caveat, that Rust 1.36 or later is required.