Re:Making Rust a Better Fit for Cheri and Other Platforms
by djmcnab on Thursday April 14, 2022 @09:03AM
(#31026418)
I don't think this is actually a problem, since when casting from `&mut T` to `*mut T`, the returned pointer can only access the data (the T value) directly behind the reference.
The raw pointer would be synthesised with the capability for only the pointee of the original reference.
The raw pointer would be synthesised with the capability for only the pointee of the original reference.