-
Notifications
You must be signed in to change notification settings - Fork 69
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
Fix UB in SFTMap implementations #879
Conversation
Thanks for the PR. The use of |
The second point arises from the fact that |
Hmm I would not merge this PR for now, I'm going to make storage of pointers in SFT vectors Atomic as well, using Atomic from atomic |
So far @qinsoon told me that update method is invoked behind the lock so probably |
Can you fix the style check? Then I will start a test run with our bindings to test the PR, then we can merge it. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
UnsafeCell<T>
.