-
Notifications
You must be signed in to change notification settings - Fork 471
Make UnsafePinned handling properly per-byte #4819
Copy link
Copy link
Open
Labels
A-aliasingArea: This affects the aliasing model (Stacked/Tree Borrows)Area: This affects the aliasing model (Stacked/Tree Borrows)C-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementI-misses-theoretical-UBImpact: Miri does not report UB when it should, but codegen also "misses" this UBImpact: Miri does not report UB when it should, but codegen also "misses" this UB
Metadata
Metadata
Assignees
Labels
A-aliasingArea: This affects the aliasing model (Stacked/Tree Borrows)Area: This affects the aliasing model (Stacked/Tree Borrows)C-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementI-misses-theoretical-UBImpact: Miri does not report UB when it should, but codegen also "misses" this UBImpact: Miri does not report UB when it should, but codegen also "misses" this UB
Type
Fields
Give feedbackNo fields configured for issues without a type.
UnsafeCell gets treated in a per-byte way by SB and TB (at least in the default configuration). rust-lang/rust#151365 adds support for UnsafePinned, but so far we just handle this in an all-or-nothing way. We should make it per-byte as well.