Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is currently a soundness bug in libstd: https://github.com/rust-lang/rust/issues/32670

(note: the bug was proposed to review by the libs team, but this review never happened, some prominent community members claim there that this is indeed a soundness bug, just one that might not be worth fixing, or would be really hard to fix, but that should be tracked as such).

To me it looks like one should just link the bug to the unsafe code guidelines, so that they can clarify the definition of soundness (and the limits of the rust abstract machine in which soundness is meaningful) to take this into account.

See the linked "mitosis crate" issue at the end for a similar issue.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: