Skip to content

Conversation

JoJoDeveloping
Copy link
Contributor

@JoJoDeveloping JoJoDeveloping commented Sep 11, 2025

Where "active" means that the accessed bit is set.

Fixes #4579. This also reverts #3831, or rather turns this into a must-pass test.

@rustbot
Copy link
Collaborator

rustbot commented Sep 11, 2025

Thank you for contributing to Miri!
Please remember to not force-push to the PR branch except when you need to rebase due to a conflict or when the reviewer asks you for it.

@rustbot rustbot added the S-waiting-on-review Status: Waiting for a review to complete label Sep 11, 2025
@rustbot

This comment has been minimized.

…active".

Where "active" means that the accessed bit is set.

This also reverts miri PR 3831.
@JoJoDeveloping JoJoDeveloping force-pushed the fix-4579-protector-0sized branch from b39ece4 to 14dc656 Compare September 11, 2025 15:18
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could become part of the basic_aliasing_model test, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

like so?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, thanks :)

@RalfJung RalfJung enabled auto-merge September 11, 2025 17:20
@RalfJung RalfJung added this pull request to the merge queue Sep 11, 2025
Merged via the queue into rust-lang:master with commit fc9c59b Sep 11, 2025
15 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Waiting for a review to complete label Sep 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TB] Strong protectors prevent deallocation even when they are zero-sized
3 participants