News for hackers. Stuff that matters.
Re:Sealed Rust: A plan to bring Rust to safety critical soft... by Argorak on Wednesday June 05, 2019 @02:27PM (#20107612)
Unsafe code is a really hot subject in the Rust project already and there's tons of research work around that done by Ralf: https://www.ralfj.de/blog/categories/research.html.

He's also building Rust tooling for finding bugs in this space, see for example miri.

https://play.rust-lang.org/?version=stable&mode=debug&editio...

(click "Tools" -> "Miri")

This will figure out that you do produce an illegal borrow in that unsafe code.

There are no comments on this comment yet.