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 part of #1155, we need guarantees that certain standard library types such as Box and NonZeroXxx and even built-ins such as usize do not contain UnsafeCells. Per rust-lang/unsafe-code-guidelines#492, it is difficult to get this guarantee, but it's also incredibly obvious that it's true and would be absurd to change (and certainly absurd in a way that doesn't just result in these types containing UnsafeCells, but in a way that permits interior mutation to be exercised, which is really what Immutable cares about).
This issue tracks that this is an accepted risk, and we're going to proceed with 0.8 anyway.
The text was updated successfully, but these errors were encountered:
As part of #1155, we need guarantees that certain standard library types such as
Box
andNonZeroXxx
and even built-ins such asusize
do not containUnsafeCell
s. Per rust-lang/unsafe-code-guidelines#492, it is difficult to get this guarantee, but it's also incredibly obvious that it's true and would be absurd to change (and certainly absurd in a way that doesn't just result in these types containingUnsafeCell
s, but in a way that permits interior mutation to be exercised, which is really whatImmutable
cares about).This issue tracks that this is an accepted risk, and we're going to proceed with 0.8 anyway.
The text was updated successfully, but these errors were encountered: