Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove non-interior mutability in Foundation types #587

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Conversation

madsmtm
Copy link
Owner

@madsmtm madsmtm commented Mar 5, 2024

Part of #563.

I've run the new mut_while_iter fuzz target for using AFL++ ~8 hours with 8 parallell processes, and using libFuzzer for ~7 hours with 6 parallell processes, to test whether Foundation's mutation detection is precise enough to catch all errors, such that we can declare it sound.

A concrete place where this will be useful is Winit, which stores a RefCell<Id<NSMutableAttributedString>> inside of a subclass of NSView to track marked text, but the RefCell here should be completely unnecessary.

@madsmtm madsmtm added enhancement New feature or request A-framework Affects the framework crates and the translator for them labels Mar 5, 2024
@madsmtm madsmtm changed the base branch from master to rework-cargo-features March 5, 2024 21:18
@madsmtm madsmtm force-pushed the non-mut branch 2 times, most recently from b6563b7 to a0454fb Compare March 7, 2024 16:08
@madsmtm madsmtm force-pushed the rework-cargo-features branch 5 times, most recently from 3d26587 to 0ee1323 Compare March 14, 2024 13:25
Base automatically changed from rework-cargo-features to master March 14, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-framework Affects the framework crates and the translator for them enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant