Hacker News new | past | comments | ask | show | jobs | submit login

Note that the compiler already adds "obvious" attributes to function calls, being careful to not emit them for things that contain an `UnsafeCell`. This is why that type exists, as the building block for interior mutability that the compiler understand and can optimise around.



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

Search: