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
In the WO struct you use an UnsafeCell to hold the value, but UnsafeCell isn't repr(C) compatible. This causes rust to throw a warning that some struct element isn't repr(C) and should be.
I'm unsure whether or not this breaks things in practice, so what's the fix here, if any? My fork just made it work like RW structs, but would require a minor change to svd2rust (all write functions use mutable borrows).
The text was updated successfully, but these errors were encountered:
In the WO struct you use an UnsafeCell to hold the value, but UnsafeCell isn't repr(C) compatible. This causes rust to throw a warning that some struct element isn't repr(C) and should be.
I'm unsure whether or not this breaks things in practice, so what's the fix here, if any? My fork just made it work like RW structs, but would require a minor change to svd2rust (all write functions use mutable borrows).
The text was updated successfully, but these errors were encountered: