You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As described at rust-embedded/volatile-register#10, there is a big problem with having things like &VolatileCell and using that for volatile accesses: these references are marked as dereferencable and the compiler is allowed ti insert spurious (and non-volatile) read accesses.
There currently is no way in Rust to have references without permitting the compiler to do spurious reads.
As described at rust-embedded/volatile-register#10, there is a big problem with having things like
&VolatileCell
and using that for volatile accesses: these references are marked asdereferencable
and the compiler is allowed ti insert spurious (and non-volatile) read accesses.There currently is no way in Rust to have references without permitting the compiler to do spurious reads.
Some more discussions for context:
The text was updated successfully, but these errors were encountered: