The way some insects exploit plants is galling.
Notices by Ben Kimock (saethlin@hachyderm.io)
-
Embed this notice
Ben Kimock (saethlin@hachyderm.io)'s status on Tuesday, 16-Jan-2024 15:02:33 JST Ben Kimock -
Embed this notice
Ben Kimock (saethlin@hachyderm.io)'s status on Sunday, 02-Apr-2023 12:56:20 JST Ben Kimock Since nightly-2023-04-01, this Rust code can panic:
unsafe {*(1 as *const i32)}
because rustc now inserts a check that raw pointers are aligned before dereferencing them.
https://github.com/rust-lang/rust/pull/98112
This check is only inserted when debug assertions are enabled. If you have any notable experience with this, drop me a line!