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

You would have to force the sensitive content to be dynamically allocated. All types in Rust can be moved via a shallow memcpy and that will leave around dead shallow copies. For example, `Vec<T>` will leave around dead versions of the values when it needs to do a reallocation that's not in-place.


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

Search: