Rust "unsafe" is not code the compiler doesn't understand
Rust "unsafe" is not code the compiler doesn't understand
Posted Dec 14, 2025 13:17 UTC (Sun) by alx.manpages (subscriber, #145117)In reply to: Rust "unsafe" is not code the compiler doesn't understand by malmedal
Parent article: Rust in Android: move fast and fix things (Google Security Blog)
And indeed the committee is currently revising a lot of UBs in the standard and changing it to mandatory diagnostics, which is objectively better (and in other cases, turning undefined into defined, but we're more careful about that, as it might have negative consequences).
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
