aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorIan McIntyre <ianpmcintyre@gmail.com>2021-09-19 21:23:34 -0400
committerIan McIntyre <ianpmcintyre@gmail.com>2021-09-21 17:52:54 -0400
commit6577b1a5ef911d1ece0858f0be83aa959869118f (patch)
treefe1eb5d6c8ae0fb5ea3907df6ddff62a0e98ab8b /README.md
parent58af3ecbfb571cabe8bfbcdd9ec1d469b579ae25 (diff)
Mark all registers as transparent
Guarantees that the layout is the same as the inner type. Since UnsafeCell is also transparent, this ensures that the register has the same ABI as T. Today's registers work without this. Otherwise, RAL register blocks would have unaccounted offsets / wrong sizes. This is for completness, and a signal for others that a transmute might be OK. Requires Rust 1.28.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions