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 unsafe code example converts a pointer to u8 to a pointer to f32, which has a stricter alignment requirement. This results in creating an unaligned pointer, which is UB to dereference.
Can be seen by running the program in Miri.
The text was updated successfully, but these errors were encountered:
The unsafe code example converts a pointer to
u8
to a pointer tof32
, which has a stricter alignment requirement. This results in creating an unaligned pointer, which is UB to dereference.Can be seen by running the program in Miri.
The text was updated successfully, but these errors were encountered: